A grid of places
The stage is a grid of tens of thousands of cells. A resting grain owns one cell. Each frame, every grain checks the cell below it, then the two diagonals, and moves if one is free. That one rule is enough to build dunes with a real angle of repose.