Simply draw your function, then click "OK" for a simulation of heat flow over time. I was trying to implement some calculus on scratch one day and wondered, "What if I repeatedly approximate the derivative of the approximate integral of a function? (because they're inverses like addition and subtraction)" I tested that out and for some reason got a simulation of the heat equation (studied by Joseph Fourier). Higher frequencies decay faster, lower frequencies decay slower, boundary constraints are followed (gradients approach 0), and everything slowly approaches uniform temperature. I have no idea if I solved the heat equation or why this actually works, and it doesn't work in reverse. Integral Calculation: Trapezoid Formula Dervative Calculation: if idx=0 Forward Difference else if idx=N-1 Backward Difference else Central Difference 138 blocks 2nd project on phone