the ugly shellscript powering https://oppi.li
fork

Configure Feed

Select the types of activity you want to include in your feed.

add day 20 of devlog

+28 -8
+2 -2
docs/index.html
··· 42 42 <tr> 43 43 <td class=table-post> 44 44 <div class="date"> 45 - 08/04 — 2021 45 + 11/04 — 2021 46 46 </div> 47 47 <a href="/posts/SDL2_devlog" class="post-link"> 48 48 <span class="post-link">SDL2 Devlog</span> ··· 50 50 </td> 51 51 <td class=table-stats> 52 52 <span class="stats-number"> 53 - 9.6 53 + 10.0 54 54 </span> 55 55 <span class=stats-unit>min</span> 56 56 </td>
+6 -1
docs/index.xml
··· 14 14 <item> 15 15 <title>SDL2 Devlog</title> 16 16 <description>&lt;p&gt;I have been working on an editor for the &lt;a href="https://git.peppe.rs/graphics/obi/about"&gt;One Bit Image&lt;/a&gt; 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.&lt;/p&gt; 17 + &lt;h3 id="day-20"&gt;Day 20&lt;/h3&gt; 18 + &lt;p&gt;More &lt;code&gt;lisp&lt;/code&gt; 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 &lt;code&gt;lisp&lt;/code&gt; procedure, for example, a procedure to draw horizontal black and white lines:&lt;/p&gt; 19 + &lt;figure&gt; 20 + &lt;video src="https://u.peppe.rs/frU.mp4" controls=""&gt;&lt;a href="https://u.peppe.rs/frU.mp4"&gt;Day 20&lt;/a&gt;&lt;/video&gt;&lt;figcaption aria-hidden="true"&gt;Day 20&lt;/figcaption&gt; 21 + &lt;/figure&gt; 17 22 &lt;h3 id="day-19"&gt;Day 19&lt;/h3&gt; 18 23 &lt;p&gt;Attempted &lt;a href="https://peppe.rs/art/conduit.png"&gt;some isometric art&lt;/a&gt; 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.&lt;/p&gt; 19 24 &lt;figure&gt; ··· 144 149 &lt;img src="https://u.peppe.rs/Ma.png" alt="Day 1" /&gt;&lt;figcaption aria-hidden="true"&gt;Day 1&lt;/figcaption&gt; 145 150 &lt;/figure&gt;</description> 146 151 <link>https://peppe.rs/posts/SDL2_devlog/</link> 147 - <pubDate>Thu, 08 Apr 2021 12:09:00 +0000</pubDate> 152 + <pubDate>Sun, 11 Apr 2021 10:46:00 +0000</pubDate> 148 153 <guid>https://peppe.rs/posts/SDL2_devlog/</guid> 149 154 </item> 150 155 <item>
+8 -3
docs/posts/SDL2_devlog/index.html
··· 25 25 ">View Raw</a> 26 26 <div class="separator"></div> 27 27 <div class="date"> 28 - 08/04 — 2021 28 + 11/04 — 2021 29 29 <div class="stats"> 30 30 <span class="stats-number"> 31 - 120.28 31 + 124.28 32 32 </span> 33 33 <span class="stats-unit">cm</span> 34 34 &nbsp 35 35 <span class="stats-number"> 36 - 9.6 36 + 10.0 37 37 </span> 38 38 <span class="stats-unit">min</span> 39 39 </div> ··· 43 43 </h1> 44 44 <div class="post-text"> 45 45 <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> 46 + <h3 id="day-20">Day 20</h3> 47 + <p>More <code>lisp</code> 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 <code>lisp</code> procedure, for example, a procedure to draw horizontal black and white lines:</p> 48 + <figure> 49 + <video src="https://u.peppe.rs/frU.mp4" controls=""><a href="https://u.peppe.rs/frU.mp4">Day 20</a></video><figcaption aria-hidden="true">Day 20</figcaption> 50 + </figure> 46 51 <h3 id="day-19">Day 19</h3> 47 52 <p>Attempted <a href="https://peppe.rs/art/conduit.png">some isometric art</a> 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.</p> 48 53 <figure>
+2 -2
docs/posts/index.html
··· 27 27 <tr> 28 28 <td class=table-post> 29 29 <div class="date"> 30 - 08/04 — 2021 30 + 11/04 — 2021 31 31 </div> 32 32 <a href="/posts/SDL2_devlog" class="post-link"> 33 33 <span class="post-link">SDL2 Devlog</span> ··· 35 35 </td> 36 36 <td class=table-stats> 37 37 <span class="stats-number"> 38 - 9.6 38 + 10.0 39 39 </span> 40 40 <span class=stats-unit>min</span> 41 41 </td>
+10
posts/SDL2_devlog.md
··· 5 5 order, begin from the bottom, if this is your first time on 6 6 this page. 7 7 8 + ### Day 20 9 + 10 + More `lisp` stuff! I added a new brush, for rectangular 11 + selections. While selection doesn't do much on its own, the 12 + selected area can be passed onto a `lisp` procedure, for 13 + example, a procedure to draw horizontal black and white 14 + lines: 15 + 16 + ![Day 20](https://u.peppe.rs/frU.mp4) 17 + 8 18 ### Day 19 9 19 10 20 Attempted [some isometric