Frame Loop ExecutionYour entry file runs every animation frame with time, dt, persistent state, and canvas size.
Seven Drawing PrimitivesReturn particles, lines, vectors, circles, arcs, bars, and HUD text — no direct canvas API needed.
Persistent StateAssign to state and it survives between frames. Editing code or clicking Restart clears it.
Multi-File ModulesSplit helpers into files with named imports. Modules compile once; pass dt and state as arguments.
Cookbook RecipesProjectile, collisions, explosions, orbits, springs, boids, and energy demos you can paste in.