Skip to content

Commit

Permalink
deploy: 152d959
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Nov 30, 2023
1 parent d5467aa commit a32ed39
Show file tree
Hide file tree
Showing 21 changed files with 7 additions and 3 deletions.
Binary file modified algebra/basic-with-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified algebra/circle-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified algebra/suns-old-god.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified chessboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ <h2 id="color" class="section">Color</h2>
<pre><code class="nohighlight"><span class="type-name">Color</span><span>.</span><span class="identifier">steelBlue</span><span> </span><span class="comment">// Not to be confused with blue steel
</span><span class="type-name">Color</span><span>.</span><span class="identifier">beige</span><span>
</span><span class="type-name">Color</span><span>.</span><span class="identifier">limeGreen</span></code></pre>
<p>You can also parse colors from CSS hex-color strings. For example:</p>
<pre><code class="nohighlight"><span class="keyword">val</span><span> </span><span class="identifier">red</span><span> = </span><span class="type-name">Color</span><span>.</span><span class="identifier">fromHex</span><span>(</span><span class="string-literal">&quot;#f00&quot;</span><span>)
</span><span class="keyword">val</span><span> </span><span class="identifier">green</span><span> = </span><span class="type-name">Color</span><span>.</span><span class="identifier">fromHex</span><span>(</span><span class="string-literal">&quot;#00ff00&quot;</span><span>)
</span><span class="keyword">val</span><span> </span><span class="identifier">transparentBlue</span><span> = </span><span class="type-name">Color</span><span>.</span><span class="identifier">fromHex</span><span>(</span><span class="string-literal">&quot;#0f09&quot;</span><span>)</span></code></pre>
<p>There are many methods to modify colors, such as <code>spin</code>, <code>desaturate</code>, and so on. See the <a class="api" href="https://javadoc.io/doc/org.creativescala/doodle-docs_3/latest/doodle/core/Color.html">Color</a> for full details.</p>

<h2 id="point" class="section">Point</h2>
Expand Down
2 changes: 1 addition & 1 deletion main.js.map

Large diffs are not rendered by default.

Binary file modified pictures/at-and-origin-at.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/basic-layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/basic-path.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/basic-shapes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/basic-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/bounding-box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/debug-layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/fill-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/open-closed-paths.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/overlapping-circles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/pentagon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/rolling-circles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions pictures/size.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ <h2 id="bounding-box" class="section">Bounding Box</h2>
.</span><span class="identifier">strokeColor</span><span>(</span><span class="type-name">Color</span><span>.</span><span class="identifier">hotpink</span><span>)
.</span><span class="identifier">strokeWidth</span><span>(</span><span class="number-literal">3.0</span><span>)
)
</span><span class="comment">// boundingBox: Picture[FromGifBase64 &amp; Basic &amp; Bitmap &amp; FromBufferedImage &amp; FromPngBase64 &amp; FromJpgBase64, Unit] = doodle.algebra.Picture$$anon$1@3777aef0
</span><span class="comment">// boundingBox: Picture[FromGifBase64 &amp; Basic &amp; Bitmap &amp; FromBufferedImage &amp; FromPngBase64 &amp; FromJpgBase64, Unit] = doodle.algebra.Picture$$anon$1@54300362
</span><span>
</span><span class="keyword">val</span><span> </span><span class="identifier">picture</span><span> = </span><span class="identifier">circle</span><span>.</span><span class="identifier">on</span><span>(</span><span class="identifier">boundingBox</span><span>)
</span><span class="comment">// picture: Picture[Bitmap &amp; FromBufferedImage &amp; FromPngBase64 &amp; FromGifBase64 &amp; Basic &amp; FromJpgBase64, Unit] = doodle.syntax.LayoutSyntax$$anon$1@455c22b3</span></code></pre>
</span><span class="comment">// picture: Picture[Bitmap &amp; FromBufferedImage &amp; FromPngBase64 &amp; FromGifBase64 &amp; Basic &amp; FromJpgBase64, Unit] = doodle.syntax.LayoutSyntax$$anon$1@61584692</span></code></pre>
<p>This produces the picture shown below.</p>
<div class="default-image-block">
<img src="bounding-box.png">
Expand Down
Binary file modified pictures/stroke-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a32ed39

Please sign in to comment.