Skip to content

komietty/unity-voronoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-voronoi

  • Delauney diagram (2D/3D) with bistellar flip algolithm.
  • Voronoi diagram (2D/3D) from delauney triangles above.
  • CSG(Constructive Solid Geometry) for an atbitrary mesh.

img img

Voronoi Diagram

Both 2D/3D versions are avairable. As for an algorithm please see the reference below. img img

CSG

CSG module has Intersection, Subtruction, Union functions. The Image below shows subtruction demo. img

Usage

using a simplex geom submodule, so update submodule first.

reference

Computing the 3D Voronoi Diagram Robustly: An Easy Explanation, Hugo Ledoux, 2007

evanw's csg.js

About

Voronoi mesh generator

Resources

License

Stars

Watchers

Forks

Languages