diff options
author | Akshay <[email protected]> | 2021-04-01 05:11:51 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-04-01 05:11:51 +0100 |
commit | fe9b5edea79dfc508066efca2156aeb02cf16cde (patch) | |
tree | 500b209e026e6a573e18b4b14a3706c6c8449dc3 /docs/posts/SDL2_devlog | |
parent | 01ef5ffab82e3cfaf64dba23a970e99f67b84fdb (diff) |
add day 16 video
Diffstat (limited to 'docs/posts/SDL2_devlog')
-rw-r--r-- | docs/posts/SDL2_devlog/index.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/posts/SDL2_devlog/index.html b/docs/posts/SDL2_devlog/index.html index 9a324a8..80cb297 100644 --- a/docs/posts/SDL2_devlog/index.html +++ b/docs/posts/SDL2_devlog/index.html | |||
@@ -25,10 +25,10 @@ | |||
25 | ">View Raw</a> | 25 | ">View Raw</a> |
26 | <div class="separator"></div> | 26 | <div class="separator"></div> |
27 | <div class="date"> | 27 | <div class="date"> |
28 | 31/03 — 2021 | 28 | 01/04 — 2021 |
29 | <div class="stats"> | 29 | <div class="stats"> |
30 | <span class="stats-number"> | 30 | <span class="stats-number"> |
31 | 91.51 | 31 | 93.51 |
32 | </span> | 32 | </span> |
33 | <span class="stats-unit">cm</span> | 33 | <span class="stats-unit">cm</span> |
34 |   | 34 |   |
@@ -56,6 +56,10 @@ | |||
56 | <span id="cb2-6"><a href="#cb2-6" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind 'l) (brush-line))</span> | 56 | <span id="cb2-6"><a href="#cb2-6" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind 'l) (brush-line))</span> |
57 | <span id="cb2-7"><a href="#cb2-7" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind 'l+) (brush-line-extend))</span> | 57 | <span id="cb2-7"><a href="#cb2-7" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind 'l+) (brush-line-extend))</span> |
58 | <span id="cb2-8"><a href="#cb2-8" aria-hidden="true"></a> (<span class="kw">else</span> (brush-circle))))</span></code></pre></div> | 58 | <span id="cb2-8"><a href="#cb2-8" aria-hidden="true"></a> (<span class="kw">else</span> (brush-circle))))</span></code></pre></div> |
59 | <p>The following script draws a straight line along a given axis, at a given distance from the canvas boundary:</p> | ||
60 | <figure> | ||
61 | <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> | ||
62 | </figure> | ||
59 | <h3 id="day-15">Day 15</h3> | 63 | <h3 id="day-15">Day 15</h3> |
60 | <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> | 64 | <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> |
61 | <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> | 65 | <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> |