This model aims to recreate terrain we see on Earth based only on the simple principal that rain falls, flows downhill, and causes erosion. At the end of the movie it shows a top down view of the landscapes current elevation map.
The following logic was used in this simulation: * Start with a matrix of initial elevation values. * Simulate raindrop by selecting a cell at random, and moving downhill or in a random direction. * At each location subtract 1 from the elevation value to simulate erosion. * Repeat for as long as you would like to evolve the landscape.
The initial conditions were chosen to be: * An upside-down V-shaped hill * Grid of 100*100 elevation values
The flow algorithm moves raindrops downhill to the neighbor lowest in elevation from the current. If none are lower in elevation it picks a random direction.
Link to this comment:
All Comments (0)