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 :)
Ok, I added two more lines of code to rotate the shapes aligning their longest segment to the horizon.
Now I can go sleep :)
Playing with https://github.com/micycle1/PGS inside #OPENRNDR
I feel a bit guilty that this is just 4 lines of code But I still like those shapes a lot and want to send them to the #penplotter
Not long after one of the big bangs.
Working on a new artwork.
The list of things to try is long
For 5 years we've been posting images and videos to this thread in the #OPENRNDR forum.
Maybe some day we can mark it as answered
#genuary2025 #genuary8 Day 8: "draw one million of something".
Here are some Clifford attractors with 40 million points per frame. made with #openRNDR
@pickover
"Impossible day - Try to do something that feels impossible for you to do."
I went for "less than one hour, less than 1000 chars". That's what I could afford today
Code: https://codeberg.org/hamoid/genuary2025/src/branch/main/src/main/kotlin/Genuary11.kt
#genuary #genuary11 #genuary2025 #CreativeCoding #OPENRNDR #Kotlin #glitch ~
"Layers upon layers upon layers"
Source code: https://codeberg.org/hamoid/genuary2025/src/branch/main/src/main/kotlin/Genuary02.kt
Inspired by the white plastic plate we have under our sprouting glass jars to collect water. The water is not perfectly transparent and leaves subtle wobbly contours on the plate. After more and more layers of subtractive tinted water, a beautiful painting is being revealed.
"Vertical or horizontal lines only"
Source code: https://codeberg.org/hamoid/genuary2025/src/branch/main/src/main/kotlin/Genuary01.kt
I run the program one by one on all my 12 month folders containing the 2024 photos. January definitely had not my favorite color combinations based on the results
Many people use Kotlin to create serious stuff, but it's also a great language for creative coding
.
The https://guide.openrndr.org is a great place to start.
Or the 30 videos @mimetik and I posted so far:
https://www.youtube.com/@in_conversations/videos
https://tubedu.org/c/in_conversations_collections/videos
3 years in and it's still one of the most enjoyable languages I've used.
Hi aBe from Berlin, DE here. Artist creating static, moving and interactive visuals. Sometimes giving #shader or #CreativeCoding workshops. Contributing to #OPENRNDR since 2020.
I value: nature, meeting people offline, cycling and walking, collaboration above competition and FLOSS.
I like any form of creation: arranging fallen sticks in the forest, toilette paper carton board origami or doing ball-pen graffities on bananas.
Here for inspiration and to learn from others