Control diamond square algorithm to generate islands/pangea.
Posted
by
Gabriel A. Zorrilla
on Game Development
See other posts from Game Development
or by Gabriel A. Zorrilla
Published on 2011-01-04T16:20:22Z
Indexed on
2011/01/04
16:59 UTC
Read the original article
Hit count: 938
I generated a height map with the diamond square algorithm. The thing is i do not manage to create islands, this is, restrict the height other than water level range to a certain value in the center of the map.
I manualy seeded a circle in the middle of the map but the rest of the map still receives heights over the water level.
I dont fully understand the Perlin noise algorithm so i'd like to work with my current implementation of the diamond square algorithm which took me 3 days to interpret and code in PHP. :P
© Game Development or respective owner