Physics simulationsThree-Body Problem
Figure-eight, butterfly and other periodic orbits of three gravitating bodies, integrated live, plus a free mode to throw your own.
- Celestial mechanics
- Chaos
- Numerical integration
Things I built to understand, or to explain: simulations you can run, change and break, each with a short write-up of the physics or mathematics behind it.
16 projects
Physics simulationsFigure-eight, butterfly and other periodic orbits of three gravitating bodies, integrated live, plus a free mode to throw your own.
Physics simulationsA pendulum over three magnets: sensitive dependence on initial conditions, Lyapunov exponents and basins of attraction.
Physics simulationsTwo stars on Keplerian orbits and the light curve a telescope would record, eclipses included.
Physics simulationsDraw the line between two planets every few days and a flower appears: the geometry of Earth, Venus and Mars.
Physics simulationsCharged particles under Coulomb forces, gravity and a magnetic field. Launch your own with a drag.
MathematicsQuaternions, the Hopf fibration and stereographic projection: what a four-dimensional sphere looks like from inside our space.
MathematicsArrows on the centres of a Rubik’s cube: why one centre can never be turned on its own, and why (UR)¹⁰⁵ brings the stickers home but not the arrows.
MathematicsHang a picture on n nails so that pulling out any one makes it fall: free groups and commutators at work.
MathematicsEstimate π by dropping needles on a striped floor, and watch the Monte Carlo estimate and its error bar converge.
Machine learningTwo classifiers learn projectile motion side by side: one is given the physics, one has to discover it.
Life & perceptionAgents wander, meet and infect each other, then recover or die: an agent-based SIRD model with Monte Carlo statistics.
Life & perceptionPurple looks purple where you look and blue everywhere else: a colour illusion from vision research, with a reader vote.
ResearchA map of the phases of strongly interacting matter, from hadrons to color superconductors, as used in my research.
ResearchMy open-source Python toolkit for neutron-star structure: masses, radii and tidal deformabilities from an equation of state.
Just for funA tribute to ELIZA, the 1960s chatbot: a retro terminal oracle with opinions on physics, Persian food and everything else.
Just for funBalls bouncing inside a polygon: a small, satisfying collision sandbox.