Well, I ended up doing it again xD Experimenting with different algorithms and distance funcitions. Playing with the distance function results in some interesting pattters. Check this one out, it's the voronoi diagram algorithm but changing the distance function to do some weird calculations. If you change the distance function back to manhatan or euclidean distance its rendered as you would expect.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How about writing a script that creates a Voronoi diagram in a canvas element
Nice suggestion!! I've done this one before though! Quite the nice project, I enjoyed the challenge!
Well, I ended up doing it again xD Experimenting with different algorithms and distance funcitions. Playing with the distance function results in some interesting pattters. Check this one out, it's the voronoi diagram algorithm but changing the distance function to do some weird calculations. If you change the distance function back to manhatan or euclidean distance its rendered as you would expect.