Skip to content

Commit

Permalink
deploy: 0738579
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Jul 28, 2023
1 parent 412470a commit a3597b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<div id="content">
<main class="content">
<h1 id="doodle" class="title">Doodle</h1>
<p>Doodle is a Scala library for 2D graphics, animation, data visualization, and creative coding. It runs in both the JVM, rendering via <a href="https://en.wikipedia.org/wiki/Java_2D">Java2D</a>, and the web browser using <a href="https://github.com/creativescala/doodle-svg">SVG</a>.</p>
<p>Doodle is a Scala library for 2D graphics, animation, data visualization, and creative coding. It runs in both the JVM, rendering via <a href="https://en.wikipedia.org/wiki/Java_2D">Java2D</a>, and the web browser using <a href="https://en.wikipedia.org/wiki/SVG">SVG</a>.</p>

<h2 id="getting-started" class="section">Getting Started</h2>
<p>To use Doodle, add the following to your <code>build.sbt</code></p>
Expand Down
2 changes: 1 addition & 1 deletion main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pictures/drawing.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<main class="content">
<h1 id="drawing-to-the-screen" class="title">Drawing to the Screen</h1>
<p>Drawing a picture to the screen is usually the end goal of using Doodle.
The usual way to draw a <code>Picture</code> is by calling the <code>draw</code> method. Using the Java2D backend will produce output in a window, while the <a href="https://github.com/creativescala/doodle-svg">SVG backend</a> can produce output inside a web page.</p>
The usual way to draw a <code>Picture</code> is by calling the <code>draw</code> method. Using the Java2D backend will produce output in a window, while the SVG backend can produce output inside a web page.</p>
<p>The examples below use the Java2D backend, but the general principles work with other backends.</p>

<h2 id="imports" class="section">Imports</h2>
Expand Down
4 changes: 2 additions & 2 deletions pictures/writing.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ <h1 id="writing-to-a-file-1" class="title">Writing to a File</h1>
<p>An <code>Image</code> or <code>Picture</code> can be written to a file as well as displaying it on screen. The file formats you can write depend on the backend you&#39;re using:</p>
<ul>
<li>the Java2D backend can write PDF, PNG, GIF, and JPEG; and</li>
<li>the <a href="https://github.com/creativescala/doodle-svg">SVG backend</a> running on the JVM can write SVG; but</li>
<li>the <a href="https://github.com/creativescala/doodle-svg">SVG backend</a> running in the web browser cannot write files.</li>
<li>the SVG backend running on the JVM can write SVG; but</li>
<li>the SVG backend running in the web browser cannot write files.</li>
</ul>
<p>Most people will use the Java2D backend and the examples below show this.</p>

Expand Down

0 comments on commit a3597b2

Please sign in to comment.