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.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/index.xml') 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/ -- cgit v1.2.3