mastodon.bida.im is part of the decentralized social network powered by Mastodon.
Un'istanza mastodon antifascista. autogestita, italofona con base a Bologna. Rispettosa di privacy e anonimato.

Server stats:

864
active users

Learn more

#openrndr

0 posts0 participants0 posts today

The program no longer crashes and the fix was simpler than I thought.

Instead of comparing rounded doubles (what a silly idea) I did the proper thing, which is abs(a - b) < epsilon. A lot of times 🙂 Takes maybe half second to generate the design. Then I can pan, zoom and rotate to find a screenshot I like.

I'm thinking that the lines that end in lonely places should end with a tiny knot. I may try that next.

This iteration has been a big challenge: Generate shapes, get their concave hull, pack those hulls, calculate the transformation matrices mapping the original hulls to the packed ones. Apply those transformation matrices to the original shapes. Finally play with a 2D camera to find the right shot.

And I still have an interesting rounding bug which doesn't fit in this description :)

"Draw one million of something."

A million static lines. Only a tiny part of each line is rendered (thanks to a #GLSL #shader). The part that is drawn is animated in a loop of 30 frames. A random time offset in each line-loop makes it very hard (impossible?) for us to notice the repetition.

Lets see how how much is left after video compression 😅

Code: codeberg.org/hamoid/genuary202