Sage-Sandpiles is a project mainly written in PYTHON and JAVASCRIPT, it's free.
mathematical software for sandpile computations