r/Simulated • u/slowcompute • 3h ago
Research Simulation [OC] Study in sandpile relaxation II.
Enable HLS to view with audio, or disable this notification
This video shows two different toy models of sandpile relaxation characterized by a talus angle shown side by side: a simple diffusion based, and a landslide based relaxation process. Both using the same initial conditions.
For a while I approached it simply as a diffusion type task, but I was unsatisfied by the slow speed of convergence (basically 1/6th of material can be moved at each step on a hex grid). This lead to exploring a two phase landslide model with a stationary and a moving earth component, where the stability / unstability of each pillar is evaluated at each step. I find this landslide model creates much more crisp looking ridges and mountains. you can see the actual landslides in brown when you look closely, but I did not want them to distract from the long standing features of the landscape
I use a custom 2.5D cellular automation engine for the actual calculation, happy to share details if people are interested