Gallery
Documents that compute, to learn from.
Each of these is a page of Markdown with small programs in it. Move a slider and the numbers, the plots and the words around them follow. Open one, play with it, and read how it is written: everything it does is in the page.
-
Fourier seriesMaths
Every wave is a sum of circles
Stack sine waves into a square wave, watch circles on circles draw it, and meet the 9% overshoot that never goes away.
sliderstateplots in a layer
-
RSA cryptographyMaths
A lock anyone can close but only you can open
Pick two primes, build a key pair by hand, encrypt a message letter by letter, and see why factoring is the hard way round.
buttons as chipstablesinput
-
EpidemicsScience
Flattening the curve
One case's chain of infections, the S/I/R curves, distancing against a hospital's beds, and the herd-immunity threshold.
a simulationseeded chanceplots in a layer
-
Bayes and base ratesMaths
The test is 99% accurate. Should you worry?
A thousand people coloured by their test result, the natural-frequency tree, a second test, and a prevalence sweep.
a grid of 1000a treestate
-
Special relativityScience
Moving clocks run slow
A light clock at rest and in motion, γ from a triangle, the twin paradox as a trip planner, and the muons that reach the ground.
a time sliderspacetime diagramMath
-
Gradient descentComputing
How a machine learns: rolling downhill
Fit a line by hand, see its loss as a landscape, then let gradient descent roll down it: too slow, just right, or blowing up.
a heat mapStep and Runlog scale
-
Harmonics and temperamentArts
Why every piano is slightly out of tune
Standing waves, beats you can see, the Pythagorean comma on a circle of fifths that won't close, and equal temperament's compromise.
waveformsa circle of fifthstables
-
Voting systemsSociety
The same votes, four different winners
One electorate, five counting rules, five winners: plurality, runoff, instant runoff, Borda and Condorcet, a spoiler and a cycle.
rounds by reducea matrixa graph
-
Orbital mechanicsScience
To catch up, slow down
Newton's cannon from circle to escape, why braking catches up, and a transfer to Mars with its launch window.
Kepler's equationorbit diagramssliders
-
Population geneticsScience
Chance and choice in evolution
Hardy–Weinberg on a grid of genotypes, selection's steady push, eight populations drifting by chance, and which wins the race.
seeded chancea simulationlog axes
-
BakingEveryday
The sourdough notebook
Baker's percentages, a timetable planned back from dinner, the rise curve, a guess at the crumb, and a shopping list.
cards of slidersstepschecklist
-
A decisionEveryday
Which printer for the office
Weigh three offers against what matters to you, tick the checks, and send the choice back: a document that answers.
weightsa checklist gaterespond
Make your own
Sign in and start a document, or connect Claude to bibmd (https://bibmd.app/mcp)
and ask it for an explainer of something you are curious about.