Voronoi Art with Generated Points

Voronoi Art with Generated Points

Voronoi diagram is a partition of a plane into regions close to each of a given set of points in the plane. There are many algorithms and tools to construct a Voronoi diagram, given a set of points. One of the best tools I have come across is the one made by Alex Beutel (http://alexbeutel.com/webgl/voronoi.html). It also has a facility where you could specify your own set of points and get the diagram generated. After playing with it a bit, I thought it would be cool to generate the points with different functions using a program and see how the Voronoi diagram would be for each of the sets.

I wrote some code to create the points using various functions. You can find the source code here: https://github.com/rmadhuram/voronoi-dist.

1. Points on a grid

No alt text provided for this image

2. Honeycomb

If we displace the alternate row of points by half the distance between adjacent points, we get a nice honeycomb pattern.

No alt text provided for this image

3. Points on a circle with center

No alt text provided for this image

4. Points on concentric circles with center

No alt text provided for this image

5. Circles on a grid

No alt text provided for this image

6. Points on a spiral

No alt text provided for this image

7. Triangle

No alt text provided for this image

8. Circles over a circle

No alt text provided for this image

9. Points on a sine curve

No alt text provided for this image

10. Points on two perpendicular lines

No alt text provided for this image

11. Sierpinski

No alt text provided for this image

12. Angel Function

Points on the angel curve I discovered earlier (http://geekraj.com/?p=1056)

No alt text provided for this image

13. Combination pattern

No alt text provided for this image

Let me know if you made other cool designs!

Abeneth S

Innovative Product Leader | IoT & AI Enthusiast | Scrum Master | Agile Coach | Space Enthusiast | Certified Project Management Professional

3y

Reminds me of the Veritasium video of Kepler and his ingenious Infinite pattern conundrum Source: https://youtu.be/48sCx-wBs34

To view or add a comment, sign in

Insights from the community

Others also viewed

Explore topics