From ad22c7ce9762fd731c693db6f2e124cbb82c1f93 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 28 Mar 2021 16:57:44 +0530 Subject: add day 14 of devlog --- docs/index.html | 4 ++-- docs/index.xml | 7 ++++++- docs/posts/SDL2_devlog/index.html | 11 ++++++++--- docs/posts/index.html | 4 ++-- posts/SDL2_devlog.md | 16 ++++++++++++++++ 5 files changed, 34 insertions(+), 8 deletions(-) diff --git a/docs/index.html b/docs/index.html index 2f9570c..a28ed66 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,7 +42,7 @@
- 25/03 — 2021 + 28/03 — 2021
SDL2 Devlog @@ -50,7 +50,7 @@ - 6.2 + 6.7 min diff --git a/docs/index.xml b/docs/index.xml index 2b20f6e..5f91356 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -14,6 +14,11 @@ SDL2 Devlog <p>I have been working on an editor for the <a href="https://git.peppe.rs/graphics/obi/about">One Bit Image</a> file format in Rust and SDL2. This entry in my blog follows my progress on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page.</p> +<h3 id="day-14">Day 14</h3> +<p>I attempted a <a href="https://peppe.rs/art/ramen_noodles.png">small art piece</a> using the editor, while it was largely usable, I felt a certain lack of feedback. The brushes just didn’t relay as much info as I’d have liked, for example, the approximate points of the line or the angle made by the line against the x-axis. Unfortunately, the existing infrastructure around brushes and line drawing didn’t easily allow for this either. I went ahead and reimplemented brushes, and added a new flood fill brush too:</p> +<figure> +<video src="https://u.peppe.rs/8q.mp4" controls=""><a href="https://u.peppe.rs/8q.mp4">Day 14</a></video><figcaption aria-hidden="true">Day 14</figcaption> +</figure> <h3 id="day-13">Day 13</h3> <p>I added a few more forms to the <code>lisp</code> evaluator. It handles recursion, definitions, variable mutation and more. The prelude contains 20 subroutines so far, including comparision and logic operators. The REPL interface on the SDL side requires some UX tweaks; environment based completion, readline motions sound doable.</p> <figure> @@ -85,7 +90,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/ -Thu, 25 Mar 2021 14:01:00 +0000 +Sun, 28 Mar 2021 11:27: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 4b4b1ff..cda228b 100644 --- a/docs/posts/SDL2_devlog/index.html +++ b/docs/posts/SDL2_devlog/index.html @@ -25,15 +25,15 @@ ">View Raw
- 25/03 — 2021 + 28/03 — 2021
- 70.32 + 76.71 cm   - 6.2 + 6.7 min
@@ -43,6 +43,11 @@

I have been working on an editor for the One Bit Image file format in Rust and SDL2. This entry in my blog follows my progress on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page.

+

Day 14

+

I attempted a small art piece using the editor, while it was largely usable, I felt a certain lack of feedback. The brushes just didn’t relay as much info as I’d have liked, for example, the approximate points of the line or the angle made by the line against the x-axis. Unfortunately, the existing infrastructure around brushes and line drawing didn’t easily allow for this either. I went ahead and reimplemented brushes, and added a new flood fill brush too:

+
+ +

Day 13

I added a few more forms to the lisp evaluator. It handles recursion, definitions, variable mutation and more. The prelude contains 20 subroutines so far, including comparision and logic operators. The REPL interface on the SDL side requires some UX tweaks; environment based completion, readline motions sound doable.

diff --git a/docs/posts/index.html b/docs/posts/index.html index 0912ee5..0558643 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -27,7 +27,7 @@
- 25/03 — 2021 + 28/03 — 2021
SDL2 Devlog @@ -35,7 +35,7 @@ - 6.2 + 6.7 min diff --git a/posts/SDL2_devlog.md b/posts/SDL2_devlog.md index 216e7b3..4605b91 100644 --- a/posts/SDL2_devlog.md +++ b/posts/SDL2_devlog.md @@ -5,6 +5,22 @@ on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page. +### Day 14 + +I attempted a [small art +piece](https://peppe.rs/art/ramen_noodles.png) using the +editor, while it was largely usable, I felt a certain lack +of feedback. The brushes just didn't relay as much info as +I'd have liked, for example, the approximate points of the +line or the angle made by the line against the x-axis. +Unfortunately, the existing infrastructure around brushes +and line drawing didn't easily allow for this either. I went +ahead and reimplemented brushes, and added a new flood fill +brush too: + +![Day 14](https://u.peppe.rs/8q.mp4) + + ### Day 13 I added a few more forms to the `lisp` evaluator. It handles -- cgit v1.2.3