Random Terrain Generator
This creates a random heightfield using the fault algorithm.
- Home Page
Pygame.org account Comments
Rho1 2012-03-21 12:27:43
Quite nice. Finding proper values to generate something good looking is kinda hard at start, could use some kind of default/example parameters set.
100x100 blocks 1 pixel per block (substituted by 2 in code?), 1000 passes, height variation =2, smoothness =2 give more or less terrainish look, sorta depends on luck thou.
Benjamin 2012-03-22 03:47:36
It is substituted by 2 because for some reason I cannot figure out it never displays anything if it is 1. I thought that I should put that in there as a precaution.