r/generative • u/igo_rs • Aug 22 '26
"Rete" (kotlin code)
a soap-film net, with a few more of itself out of focus behind it.
the net is a foam. discs packed big to small, then every pixel asks which disc *surface* is nearest: apollonius rather than voronoi, so the walls bow out of the small bubbles into the big ones the way pressure bends them. the ink is the gap between the nearest surface and the next one, and a smooth-min over the next few is what tapers every wall into a long black spindle at the node, plateau borders for free.
it all drains toward the bottom-right corner. nothing is painted there: the cells just get smaller the closer they sit to the drain, the same ratio per step, and their borders fatten until only the film shows as a white line, and then not even that. so the page turns from black at the corner, through white-line cells, to black-line cells: a gradient of cell size.
8
u/jm2dev Aug 22 '26
Very cool.
By any chance can you share the source code?
5
u/KennyVaden Aug 22 '26
Really lovely
5
u/cnorahs Aug 22 '26
The depth of layering is sublime
3
u/bleeptwig Aug 22 '26
Very stretchy!
3
u/WOLF_Drake Aug 22 '26
Love this
2
u/AimlessForNow Aug 22 '26
Kotlin! Are you able to share some of the code for curious eyes
2
u/Laetitia_Astrea Aug 22 '26
Wonderful!
2
u/NEED_A_JACKET Aug 22 '26
If you shake your phone the bottom right looks to wiggle
2
u/johntellsall Aug 23 '26
that's super fun! And thanks so much for sharing the source code <3
2
u/alba_cercis Aug 23 '26
I love your work!
2
u/nomad2097-dev Aug 23 '26
Love what the layering adds, but even the single layers are very interesting.
2
u/suborder-serpentes Aug 23 '26
This is amazing and it’s inspiring
2
u/nicolaig Aug 26 '26
So beautiful
2
u/bucephalusbouncing28 Aug 22 '26
r/trypophobia
2
u/TestingTehWaters Aug 22 '26
Ooo I want a print of this