Open chriscamacho opened 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.
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...