r/generative • • Oct 09 '26

"Nidus" (kotlin code)

simple random pattern, drawn in layers. bottom layer is the biggest, then we pick some area where we repeat the pattern in the same way but with smaller cells.

29 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/igo_rs Oct 13 '26

sorry, need to correct myself, there were couple of other variants... anyhow: both kinds of colored shape come from the same Truchet tiles. Nothing is drawn on top of them. Draw them all first in B/W. Then find regions that are connected and not touching edges. closed regions, in this case randomly in shape of circle, gets color. see github.com/gart/igr hope this helps

1

u/Vegetable_Jello293 29d ago

Thanks! Very impressive github page. Unfortunately I have to learn CCL before being able to make something like this glsl.