block by mpmckenna8 0d582d86a59444e3f0411030f9ef2f4f

Poisson disc distribution image sample of a tacocat

Full Screen

So this show how to basically do https://bl.ocks.org/mbostock/22fd67be72552774736d using d3 v4. It basically use an imlementation of a Poisson disk distribution to do some sampling and then uses the pixel color to color in a polygon generated by a voronoi algorithm on all the sampled points.

The original picture of the taco cat I used can be found https://c1.staticflickr.com/7/6046/6303841970_a9f081904c.jpg

Put more taco cats on the internet pls

index.html

main.js