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 | |
parent | 01ef5ffab82e3cfaf64dba23a970e99f67b84fdb (diff) |
add day 16 video
-rw-r--r-- | docs/index.html | 2 | ||||
-rw-r--r-- | docs/index.xml | 6 | ||||
-rw-r--r-- | docs/posts/SDL2_devlog/index.html | 8 | ||||
-rw-r--r-- | docs/posts/index.html | 2 | ||||
-rw-r--r-- | posts/SDL2_devlog.md | 5 |
5 files changed, 18 insertions, 5 deletions
diff --git a/docs/index.html b/docs/index.html index 030c912..e151847 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -42,7 +42,7 @@ | |||
42 | <tr> | 42 | <tr> |
43 | <td class=table-post> | 43 | <td class=table-post> |
44 | <div class="date"> | 44 | <div class="date"> |
45 | 31/03 — 2021 | 45 | 01/04 — 2021 |
46 | </div> | 46 | </div> |
47 | <a href="/posts/SDL2_devlog" class="post-link"> | 47 | <a href="/posts/SDL2_devlog" class="post-link"> |
48 | <span class="post-link">SDL2 Devlog</span> | 48 | <span class="post-link">SDL2 Devlog</span> |
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> |
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> |
diff --git a/docs/posts/index.html b/docs/posts/index.html index 206cab7..697b522 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html | |||
@@ -27,7 +27,7 @@ | |||
27 | <tr> | 27 | <tr> |
28 | <td class=table-post> | 28 | <td class=table-post> |
29 | <div class="date"> | 29 | <div class="date"> |
30 | 31/03 — 2021 | 30 | 01/04 — 2021 |
31 | </div> | 31 | </div> |
32 | <a href="/posts/SDL2_devlog" class="post-link"> | 32 | <a href="/posts/SDL2_devlog" class="post-link"> |
33 | <span class="post-link">SDL2 Devlog</span> | 33 | <span class="post-link">SDL2 Devlog</span> |
diff --git a/posts/SDL2_devlog.md b/posts/SDL2_devlog.md index 72aedef..991a246 100644 --- a/posts/SDL2_devlog.md +++ b/posts/SDL2_devlog.md | |||
@@ -29,6 +29,11 @@ Some aliases to switch between brushes: | |||
29 | (else (brush-circle)))) | 29 | (else (brush-circle)))) |
30 | ``` | 30 | ``` |
31 | 31 | ||
32 | The following script draws a straight line along a given | ||
33 | axis, at a given distance from the canvas boundary: | ||
34 | |||
35 | ![Day 16](https://u.peppe.rs/b3i.mp4) | ||
36 | |||
32 | ### Day 15 | 37 | ### Day 15 |
33 | 38 | ||
34 | I began writing a standard library for the lisp, in lisp. It | 39 | I began writing a standard library for the lisp, in lisp. It |