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.