solvers

a little hub of hand-rolled numerical solvers. each one is real, runnable physics — not a lookup table — with its own preset problems and a proper visualization to poke at.

magnetostatics rust · wasm

a 2D magnetic field solver: relaxes the vector-potential Poisson equation on a grid, then draws flux density as a heatmap with exact field lines traced as contours of the potential. six preset problems (wires, a solenoid, a horseshoe electromagnet, bar magnets) and a small material library — iron, steel, ferrite, neodymium — to drop into them. the solver itself is Rust compiled straight to wasm32-unknown-unknown, no JS reimplementation of the math.

next up soon

more solvers land here over time — electrostatics, heat diffusion, whatever the next request calls for. one page per solver, same hub.