↓ Skip to main content

“We use Laplace’s equation to model any physical phenomenon where a scalar field is allowed to relax over time and we’re only interested in the final state.”

Matt Ferraromattferraro.dev ↗

The scary equation boils down to one rule. Every cell equals the average of its neighbors. Iterate that on a grid and you get heat flow, airflow and electric fields. Textbooks spend chapters hiding how simple this is. A blog post with pictures does it in an afternoon.