This code shows the evolution of the heat equation on a ring using both discrete evolution through the numerical pde, and a Monte Carlo simulation (random walker).
There's a report that explains the results. The executables are: "diffring" and "walkring".
Visualization: https://youtu.be/i6bVKDYEmPs