A visual solution to Fourier’s heat equation in p5. Play with the two versions online:

https://editor.p5js.org/simontiger/present/EaHr9886H

https://editor.p5js.org/simontiger/sketches/EaHr9886H

https://editor.p5js.org/simontiger/present/ruN8CQV77

https://editor.p5js.org/simontiger/sketches/ruN8CQV77

Inspired by 3Blue1Brown’s Differential Equations series.