It's kind of sad to find an old piece of code but after running it didn't give the same result as the original one. Most of my creative coding is CSS-based and rendered in the browser. Browsers and hardware change overtime, I realized that those works of mine are only viewable for a certain period of time.
Sometimes I think the code is part of the artwork if it's short enough for readability and utilizes some specific features that's worth to share. So code sharing should be fine with that willingness in mind. They won't last long in the browser after all.
What I find helpful is to take and keep the screenshots or share them in the wild so I can look back somewhere in the future. The code itself is less important compared to the idea behind the work.
As I was browsing through some old screenshots, one of them from last year caught my eye. Apparently more combinations could be made there, but somehow I moved on to something else at that time.
The idea is not new yet simple, creating a symmetrical structure by evenly
dividing a circle with the given shape that rotates around it.
The major part is the shape generation, which uses the
@shape function that I wrote about before.
There are so many results that I haven't seen before. Just changing the shape function will emerge something interesting.
Complete source code
There's the complete source code for the first one:
It's probably easier to create these patterns with GUI tools, however, I'd prefer tweaking code to dragging controls. It's slower but the excitement may last longer.