Engineering

Open-source tools

More on GitHub

Interactive course books

Stress on a cube, from the continuum mechanics book

static sites · KaTeX · JavaScript demos

Problem
To study, I had to jump between slides, notes and textbooks, and none of their figures could move.
What I built
One book system shared by five books: linked definitions, checked equations and citations, and interactive figures.
Result
Every definition opens in place where it is used, so topics link across chapters. Colours match between the text and figures, helping to visualise the parameters in more-than-2D environments. 159 interactive figures, about 216 pages.
What I learned
A build that refuses broken equations and citations keeps a 200-page book correct as it grows.

The five books are listed on Nanotech.

windwatch: wind alerts for Lake Bracciano

how the blend is made

Python · FastAPI · SQLite · computer vision · self-hosted

Problem
The wind at the lake changes fast, and forecasts disagree. I wanted an alert when it gets good, and to know which forecast to trust.
What I built
A collector, a forecast checker, a Telegram bot and a dashboard, in one Python process on my home server.
Result
A daily score for each of the 14 models, and a corrected blend that I now use to decide when to go.
What I learned
A forecast is only useful when you know how often it is right. Measuring that changed which models I trust.

wind.tintan.do

Corpse Craft: a 2011 game, rebuilt

playing it again, in the browser

ActionScript 3 · Flex mxmlc · Ruffle

Problem
Corpse Craft is a 2011 Flash game. Its source code survives, but its build system, its dependencies at the right versions and the server it saved to are all gone.
What I built
A single build script that compiles the game from source, six dependencies pinned to their 2011 versions, a patch that saves progress in the browser, and a save editor.
Result
The game builds in about five seconds and runs in any browser under Ruffle, with saved progress.
What I learned
Software depends on much more than its own code. Rebuilding old code means finding the exact versions of everything around it.

Play it · Source on GitHub