Voronoi Art with Generated Points
A 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 (https://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
2. Honeycomb
If we displace the alternate row of points by half the distance between adjacent points, we get a nice honeycomb pattern.
3. Points on a circle with center
4. Points on concentric circles with center
5. Circles on a grid
6. Points on a spiral
7. Triangle
8. Circles over a circle
9. Points on a sine curve
10. Points on two perpendicular lines
11. Sierpinski
12. Angel Function
Points on the angel curve I discovered earlier (https://geekraj.com/?p=1056)
13. Combination pattern
Let me know if you made other cool designs!
Engineer | IoT & AI Enthusiast | Space Science Researcher | Certified Project Management Professional (PMP)?
3 年Reminds me of the Veritasium video of Kepler and his ingenious Infinite pattern conundrum Source: https://youtu.be/48sCx-wBs34
Art of Rice Writing - ancient micro art in a new form.
3 年Absolutely beautiful! Genius stuff, well done, Madhu!?