2026-11-04T20:19:13.647400-08:00
This summer I participated in the r/roguelikedev summer event where we write a Roguelike game, following one of the Roguelike coding tutorials. I'm not trying to learn coding, so I use this event to try learning somethin...
2026-11-21T09:44:21.086747-08:00
[Note: the actual project is here; the current page is only an introduction to it, for my blog readers.] In English, there is an "indefinite" article a that can go before a word. For example, a raccoon. But for some word...
2026-08-09T09:09:59.296076-07:00
In 2005 Google showed off Google Maps, which lets you drag the map around instead of reloading the page like MapQuest and others used. That's the feature that got everyone's attention. But what got my attention was a fea...
2026-07-13T16:38:18.638447-07:00
A few weeks ago I got distracted when I discovered — to my horror — that occasionally the font size on my site was 1.24924375rem instead of the desired 1.25rem. Of course nobody would notice this. But I was annoyed with...
2026-05-02T16:55:07.501272-07:00
Although my site isn't designed to fit into the academic world, occasionally an academic paper will cite one of my pages. Everyone uses a different format. That got me wondering if there are is a proper way to cite a web...
2026-04-17T16:13:29.681265-07:00
I have sample code on some of my pages. I try to use syntax highlighting when I can, but I don't use it everywhere. In particular, Hexagons guide and Terrain from Noise don't have syntax highlighting. Why? Sample code wi...
2026-03-29T10:42:23.269145-07:00
When I started my web site, we didn't have static site generators or WordPress or GitHub Pages or much else. People wrote HTML1 by hand. Over the years, I've built my own setup to manage my site. My current setup involve...
2026-03-23T15:06:24.937671-07:00
(TL;DR: this is a blog post about the process of writing my guide to SDF fonts.) Back in 2024 I learned about SDF (signed distance field) rendering of fonts. I was trying to implement outlines and shadows in a single pas...
2026-03-23T15:06:24.935200-07:00
When a url is posted on a forum/chat, it's often automatically made linkable. But sometimes the regexp that grabs the url also grabs a trailing punctuation mark. For example, if the text is "visit red blob (https://www.r...
2026-03-23T15:06:24.933028-07:00
It's time for my annual self review. In last year's review I said I wanted to spend time learning things for myself, and less time writing for other people. The main themes for 2025 were: playing with text (very broadly)...
2026-03-23T15:06:24.930592-07:00
My “site” is spread across five different servers. I use slightly different CSS on each one. Since 2013 I’ve been using Sass (SCSS) to manage the variants, using these features: Variables → available in CSS since 2020 Ca...
2026-03-23T15:06:24.928147-07:00
I had just wrapped up a project and wanted to do something small/fun before I started the next one. The Flash runtime is being reimplemented in Rust, and I've enjoyed re-enabling the Flash on my site. That had me thinkin...
2026-03-23T15:06:24.925830-07:00
I try to avoid big software rewrites. But sometimes the rewrites are just an excuse to re-familiarize myself with the code. I rationalized rewriting Mapgen4's renderer by saying I wanted to use WebGL2. And I did use WebG...
2026-03-23T15:06:24.922145-07:00
Back in 2018 I had the idea to prerender short segments of river bends and confluences into a texture, and then use that texture to draw the rivers to the screen. I was trying to have draw exactly one triangle per Delaun...
2026-03-23T15:06:24.919815-07:00
It's been a while since I've worked on mapgen4 features. In 2018 I declared it finished. I then put it away and worked on other projects. Over the years I have updated the code (es6 modules, typescript, pointer events, b...