flui

Simulations explained from the rule up. Every course here starts with one small rule you could follow by hand, runs it a few thousand times, and shows where the equation came from — rather than handing you the equation and asking you to trust it.

Everything runs live in the page. Nothing to install.

Simulation physics

Five courses, in order — each one earns the next

  1. 01 Boid movement Three steering rules per bird, and a flock nobody choreographed. The first course that follows individuals rather than a field. agents · steering · emergence
  2. 02 Random walkers One blind coin flip per grain per tick. Count the crowd and the heat equation falls out of it — derived by counting, with one definition of calculus used three times. diffusion · probability · DLA
  3. 03 Differential equations The pendulum that stops being a sine wave, phase portraits, and the shapes that survive when everything else fades. The vocabulary course. ODEs · phase space · Fourier
  4. 04 Reaction–diffusion Two chemicals, one nonlinear term and a permanent supply line. The same operator that flattened the rod now grows spots, stripes and worms. Gray–Scott · Turing · the tank
  5. 05 Incompressible flow A velocity field on a grid, and the pressure solve that keeps it honest. The Laplacian's third job: holding a fluid together. Navier–Stokes · projection · divergence

Logic gates

A separate subject — no physics needed

  1. 01 From transistors to Boolean algebra A transistor is a switch with no moving parts. Wire a few together and you get a gate; wire gates together and you get arithmetic. Seven gates, each one live — toggle the inputs and watch which path conducts — then the algebra that lets you shrink a circuit on paper. CMOS · NAND · De Morgan · the case method

Builds

Things that left the browser

  1. ★ The Lily build Course 4's tank, running on a LilyGO T-QT Pro small enough to sit in a pocket. The same kernel in the browser and in the firmware, with every optimization and what it bought. ESP32-S3 · firmware · two cores