Notifications
p5.Voronoi
Showcase
6
0
This library allows you to compute and draw Voronoi diagrams in p5.js. It currently has the following features:
  • Add/Remove custom sites with custom colors
  • Add random sites with minimum distance (just for testing, you should make your own)
  • Draw the full voronoi diagram
  • Get cell associated with diagram coordinates
  • Get neighboring cells
  • Draw individual cells with different centers(Bounding Box, Centered on Site or Geometric Center)
  • Apply a jitter effect to the diagram

Francisco Moreira
Asset Store Publisher - Student
4
Comments