Implementation of Fortune's Algorithm for Godot Engine. Adapted from this tutorial by Ivan Kuckir.
To install, clone latest source of Godot Engine, drop the gdvoronoi
directory in the godot/modules
directory and compile it.
Command line:
git clone https://github.com/godotengine/godot.git
cd godot/modules
git clone https://github.com/jmoon1506/gdvoronoi.git
cd ../../
compile~
Array generate( int n, double w, double h, int seed )
Array generate_from_points( Vector2Array points, double w, double h )