Simulations & Demonstrations

Physics

Interactive simulations from the Modelling & Visualisation in Physics course at Edinburgh. Each one runs live in the browser — the original Python source is shown alongside the TypeScript port.

Cellular AutomataEmergenceComplexity
Soon

Game of Life

Conway's cellular automaton. Gliders, oscillators, and emergent complexity.

EpidemiologyPhase DiagramMonte Carlo
Soon

SIRS Epidemic Model

Susceptible-Infected-Recovered-Susceptible dynamics with immunity and phase diagrams.

PDEPhase SeparationFree Energy
Soon

Cahn-Hilliard Equation

Spinodal decomposition and phase separation in binary mixtures.

ElectrostaticsPDERelaxation Methods
Soon

Poisson Solver

Electrostatics via Gauss-Seidel and SOR relaxation on 2D and 3D grids.

Ising is the first full Python → TypeScript translation — the rest are ported on the same pattern as they're needed.