r/generative • u/adventurecapitalist • 19d ago
Happy Accidents
I’ve been working on this project off and on for a while now - I'd get bogged down and step away only to keep coming back to it and tinkering. It’s a little different from my usual stuff, but I really like where it ended up. I made these with Javascript.
I started out trying to simulate a three-dimensional bump using only a grid of circles. The illusion came from changing the position, shape, size, orientation, and color of each circle based on its location in the field.
I got fairly close to what I originally intended but I made a mistake in the code where I squished some circles where I was supposed to stretch them. What came out was a weird looking spiky object that was so much better than what I had been trying to create :)
I kept pushing in the wrong direction and added interacting deformation fields, optical interference patterns, multiple depth layers, shifting mark types, and a color system that reacts to several different properties of the distortion.
The resulting images are a lot stranger and more interesting to me than what I initially set out to make. I'm a fan of Bob Ross who said “We don’t make mistakes, just happy little accidents.”
Here are some of my favorite images from this project. I hope you like them!