▲ | pavel_lishin 2 days ago | ||||||||||||||||||||||
I had some time! It looks reasonably random to my eye: https://editor.p5js.org/fancybone/sketches/DUFhlJvOZ | |||||||||||||||||||||||
▲ | guccihat 2 days ago | parent [-] | ||||||||||||||||||||||
Cool demo. A minor nitpick is that the code (and the article) forgets to handle the special case of a point inside the cube that happens to be exactly (0,0,0). This will result in a divide by zero when the vector is normalized. | |||||||||||||||||||||||
|