From 73d99e5fd317eca8b42eefba0f741c1a309a0098 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 11 Apr 2021 16:17:38 +0530 Subject: add day 20 of devlog --- docs/posts/SDL2_devlog/index.html | 11 ++++++++--- docs/posts/index.html | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'docs/posts') diff --git a/docs/posts/SDL2_devlog/index.html b/docs/posts/SDL2_devlog/index.html index 85ab1af..f5e631f 100644 --- a/docs/posts/SDL2_devlog/index.html +++ b/docs/posts/SDL2_devlog/index.html @@ -25,15 +25,15 @@ ">View Raw
- 08/04 — 2021 + 11/04 — 2021
- 120.28 + 124.28 cm   - 9.6 + 10.0 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 20

+

More lisp stuff! I added a new brush, for rectangular selections. While selection doesn’t do much on its own, the selected area can be passed onto a lisp procedure, for example, a procedure to draw horizontal black and white lines:

+
+ +

Day 19

Attempted some isometric art within the editor. The angles displayed alongside the line brush are handly, however, having only a rectangular grid did not help. I implemented an isometric grid today. Isometric grids in pixel art differ in that the tangent of the isometric angle is exactly 0.5! For every pixel down, you go exactly two pixels sideways. The math works out really well in the drawing procedures too, dealing with floating points is a pain.

diff --git a/docs/posts/index.html b/docs/posts/index.html index 028db12..d91d691 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -27,7 +27,7 @@
- 08/04 — 2021 + 11/04 — 2021
SDL2 Devlog @@ -35,7 +35,7 @@ - 9.6 + 10.0 min -- cgit v1.2.3