Charles Henry wrote:
The sand still could be tricky... you would maybe have the individual particles at random locations, initially, and compute a gradient of the vibrations to determine movements.
When I saw the sand arranging itself I thought "cellular automaton".
Martin