Open sashman opened 11 years ago
When calculating the voronoi diagram, do not use a distance function between two points. This will generate straight lines between the points and will not look wavy / water like. The waves should be curved so add in an extra point to calculate a Bézier curve.
Background
Currently the grass tiles are generated with a simple algorithm (see img/scripts/random_grass.py), saving a lot of time on creating terrain assets. Next step would be dealing with water tiles.
Aiming for something like this:
What needs to be done
Create a python script (for sake of consistency) to generate a water tile given a size. The edges of the water tile must match up.
How to do it