Experiments, notebooks and things worth sharing
Software & notebooks
Working notebooks rather than finished write-ups. Each one takes something I had to do by hand and rebuilds it as code that can be pushed on — so the assumptions are visible and anyone can change them and see what moves.
Notebook · 2026
Sizing a sand battery for 17 Spanish houses
Python · NumPy · Matplotlib
Chapter 4 of an ENGF0004 coursework, rebuilt as an executable model — every hand calculation becomes a function, and every result is checked against the figure printed in the report.
Read more →Code study · 2018
An African mask, drawn with a turtle
Small Basic · Turtle graphics
The oldest code I still have. I was eleven, and I had worked out how to draw a curve using only straight lines — which turns out to be the whole idea behind how computers draw curves at all.
Read more →