Sandpiles
This is some code I wrote to mess with the concept of sandpiles that I found out about through this video on youtube. https://www.youtube.com/watch?v=1MtEUErz7Gg
Demo
A demo of the code can be found here http://billy1380.github.io/sandpiles/