Evelios / procedural-island

Procedural Island Generator Using Voronoi Tiles
MIT License
27 stars 2 forks source link

shore far from map edge #1

Open chriscamacho opened 8 years ago

chriscamacho commented 8 years ago

The shore always look vary far from the edge

by modifying Map.prototype.gradient = function(pos)

like so var delta = normalized.magnitude()*0.6;

this seems to get islands to the edge with one tile away, but so far not discovered any without shore or 1 sea before the edge...

Evelios commented 8 years ago

The island generation methods are quite lack luster. I only implemented a base generator for the island to get the generation software on top of it. I did not try too hard to get good island generation. There is an endless number of ways to try to generate the island shape. That being said my program does have the requirement of having a single sea tile around the border so it automatically overwrites the noise function in those locations. There will always be at lease one border sea tile.