diff options
Diffstat (limited to 'docs/index.xml')
-rw-r--r-- | docs/index.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/index.xml b/docs/index.xml index 846bcbe..e13ccbb 100644 --- a/docs/index.xml +++ b/docs/index.xml | |||
@@ -27,6 +27,10 @@ | |||
27 | <span id="cb2-6"><a href="#cb2-6" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind &#39;l) (brush-line))</span> | 27 | <span id="cb2-6"><a href="#cb2-6" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind &#39;l) (brush-line))</span> |
28 | <span id="cb2-7"><a href="#cb2-7" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind &#39;l+) (brush-line-extend))</span> | 28 | <span id="cb2-7"><a href="#cb2-7" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind &#39;l+) (brush-line-extend))</span> |
29 | <span id="cb2-8"><a href="#cb2-8" aria-hidden="true"></a> (<span class="kw">else</span> (brush-circle))))</span></code></pre></div> | 29 | <span id="cb2-8"><a href="#cb2-8" aria-hidden="true"></a> (<span class="kw">else</span> (brush-circle))))</span></code></pre></div> |
30 | <p>The following script draws a straight line along a given axis, at a given distance from the canvas boundary:</p> | ||
31 | <figure> | ||
32 | <video src="https://u.peppe.rs/b3i.mp4" controls=""><a href="https://u.peppe.rs/b3i.mp4">Day 16</a></video><figcaption aria-hidden="true">Day 16</figcaption> | ||
33 | </figure> | ||
30 | <h3 id="day-15">Day 15</h3> | 34 | <h3 id="day-15">Day 15</h3> |
31 | <p>I began writing a standard library for the lisp, in lisp. It includes basic list operations: <code>car</code>, <code>cdr</code>, <code>null?</code>, <code>list</code>, higher order functions: <code>map</code>, <code>filter</code>, <code>fold</code>:</p> | 35 | <p>I began writing a standard library for the lisp, in lisp. It includes basic list operations: <code>car</code>, <code>cdr</code>, <code>null?</code>, <code>list</code>, higher order functions: <code>map</code>, <code>filter</code>, <code>fold</code>:</p> |
32 | <div class="sourceCode" id="cb3"><pre class="sourceCode lisp"><code class="sourceCode commonlisp"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true"></a>(define (member? item ls)</span> | 36 | <div class="sourceCode" id="cb3"><pre class="sourceCode lisp"><code class="sourceCode commonlisp"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true"></a>(define (member? item ls)</span> |
@@ -109,7 +113,7 @@ | |||
109 | <img src="https://u.peppe.rs/Ma.png" alt="Day 1" /><figcaption aria-hidden="true">Day 1</figcaption> | 113 | <img src="https://u.peppe.rs/Ma.png" alt="Day 1" /><figcaption aria-hidden="true">Day 1</figcaption> |
110 | </figure></description> | 114 | </figure></description> |
111 | <link>https://peppe.rs/posts/SDL2_devlog/</link> | 115 | <link>https://peppe.rs/posts/SDL2_devlog/</link> |
112 | <pubDate>Wed, 31 Mar 2021 12:53:00 +0000</pubDate> | 116 | <pubDate>Thu, 01 Apr 2021 04:11:00 +0000</pubDate> |
113 | <guid>https://peppe.rs/posts/SDL2_devlog/</guid> | 117 | <guid>https://peppe.rs/posts/SDL2_devlog/</guid> |
114 | </item> | 118 | </item> |
115 | <item> | 119 | <item> |