BorisKozo/SandPile — pull request #1 by bennage (2013-09-24 21:15:47+00:00)
Title: corrected a misspelling

Good article. Another approach I've seen (though not with JavaScript) is to the let the canvas itself represent the state of the particles. It might make sense here sense you are not redrawing the entire canvas. I suspect it would be slow though.