From fe9b5edea79dfc508066efca2156aeb02cf16cde Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 1 Apr 2021 09:41:51 +0530 Subject: add day 16 video --- docs/index.html | 2 +- docs/index.xml | 6 +++++- docs/posts/SDL2_devlog/index.html | 8 ++++++-- docs/posts/index.html | 2 +- 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 @@
- 31/03 — 2021 + 01/04 — 2021
SDL2 Devlog 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 @@ <span id="cb2-6"><a href="#cb2-6" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind &#39;l) (brush-line))</span> <span id="cb2-7"><a href="#cb2-7" aria-hidden="true"></a> ((<span class="kw">eq?</span> kind &#39;l+) (brush-line-extend))</span> <span id="cb2-8"><a href="#cb2-8" aria-hidden="true"></a> (<span class="kw">else</span> (brush-circle))))</span></code></pre></div> +<p>The following script draws a straight line along a given axis, at a given distance from the canvas boundary:</p> +<figure> +<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> +</figure> <h3 id="day-15">Day 15</h3> <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> <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 @@ <img src="https://u.peppe.rs/Ma.png" alt="Day 1" /><figcaption aria-hidden="true">Day 1</figcaption> </figure> https://peppe.rs/posts/SDL2_devlog/ -Wed, 31 Mar 2021 12:53:00 +0000 +Thu, 01 Apr 2021 04:11:00 +0000 https://peppe.rs/posts/SDL2_devlog/ 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 @@ ">View Raw
- 31/03 — 2021 + 01/04 — 2021
- 91.51 + 93.51 cm   @@ -56,6 +56,10 @@ ((eq? kind 'l) (brush-line)) ((eq? kind 'l+) (brush-line-extend)) (else (brush-circle))))
+

The following script draws a straight line along a given axis, at a given distance from the canvas boundary:

+
+ +

Day 15

I began writing a standard library for the lisp, in lisp. It includes basic list operations: car, cdr, null?, list, higher order functions: map, filter, fold: