RL has had me wrapped up in a bunch of things, some very good, some very bad -
but to kick back and relax, I was looking through some search results for videos
to entertain/inspire, and I came across an introductory Shadertoy video where
they make a grid of circles of random sizes.
I didn't think we had a simple and obvious way of already doing this, so I made
some disks, circles, filled squares, and hollow squares.
There are lots of other distance functions to choose from, to make other basic
The shape size is currently controlled by f_noise3d, but I suppose just about
any function could be used to control the size.
It's also likely that other functions could be used to modulate the actual
shape, and with a bit (a lot) more work, this could generate some interesting
isosurfaces. Certainly some nice height fields.
Might make the basis for a greeble texture, a cityscape, or any other number of
things, esp if implemented in 3D.
Just thought I'd share this little doodle.
Post a reply to this message
Download 'random sized pattern 1.png' (77 KB)
Preview of image 'random sized pattern 1.png'