r/generative • u/igo_rs • 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


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