Port to Haxe 3 of sledorze/hxDelaunay (itself a port of the excellent nodename/as3delaunay).
click the image above to try the demo in the browser
No external dependencies (demo still needs openfl). Tested on flash/js/cpp/neko.
See original authors' links for details and licensing (MIT).
- Delaunay triangulation visualization (see JS code example).
click on image to see the code in action
(well... I've cheated a bit in some of these, but not much ;)
Currently there is no haxelib, but you can use this git repo as a development directory:
haxelib dev hxdelaunay path/to/folder
or use git directly:
haxelib git hxdelaunay https://github.com/azrafe7/hxDelaunay.git
don't forget to add it to your build file:
-lib hxdelaunay
or for openfl:
<haxelib name="hxdelaunay" />
Check out the openfl example for more information.
Or a simpler js code example. See it in action here: JavaScript example.
Enjoy!