PYTHON · NUMPY
Conserve energy by construction

Live ferromotion-wasm: a Hamiltonian net vs a black box on the same sparse mass-spring data. Roll both out and watch which one stays on its energy orbit.

You read

the arrays and values already in scope

You change

the code you write in each cell

Fixed

the dataset and the checks that grade you