DEV Community

Discussion on: I have the weekend free | Suggest weird ideas and I'll try to code them!!!

Collapse
 
nombrekeff profile image
Keff

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.

Image description