-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iterate over each voronoi lines #91
Comments
There is no method for iterating over the edges, but you can use voronoi.render to render all of the edges as a mesh, and you can look at the source if you want to access the edges directly yourself. Lines 75 to 101 in b7df1f2
|
This notebook might clarify how this can be done: |
A much simpler method is to use |
I'm making a procedural street pattern with Delaunay, and using
voronoi.cellPolygons()
to get each polygon. But this give me duplicated lines.There's a way to iterate over each line separately ? Thanks !
The text was updated successfully, but these errors were encountered: