[sharing] Delaunay Triangulation and Voronoi Diagram in Jitter with [v8]
Hey all!
I would like to share this brief study on the subject of Delaunay Triangulation and Voronoi Diagrams.
I was initially inspired by a Coding Train tutorial and was interested to see if I could achieve the result in Jitter. I used the new [v8] javascript engine in Max9, which is many times faster than the previous [js] object. I also made use of the new typed-arrays (Float32Array) to work with matrices within v8, instead of working directly on the matrix. For the calculations of the Triangulation and the Voronoi I use the d3-delaunay node package, but it's not used within [node.script], instead it is included in [v8].
Download and support me here: https://tmhglnd.gumroad.com/l/bhvuap
Or clone from github here: https://github.com/tmhglnd/voronoi-triangulation
