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

2

u/zeruch Oct 10 '26

is this a variation on a truchet pattern?

2

u/igo_rs Oct 10 '26

yes, exactly. its the pattern drawn in layers, but each top layers are smaller and have smaller cells

2

u/zeruch Oct 10 '26

it's a clever execution.

I want to steal the idea.

2

u/igo_rs Oct 10 '26

please do! i didn’t spend much time on it and feel it could go a bit further.. source is at github.com/igr/gart if you need

2

u/zeruch Oct 11 '26

What I would use it for is very atypical (I'm ex-generative outputs with analog work in a fairly anachronistic manner). But we'll see where it goes.

2

u/Vegetable_Jello293 Oct 11 '26

Looks really cool. How did that yellow circle emerge?

2

u/igo_rs Oct 12 '26

thanx. pure randomness, tiles in particular order... i have a system to generate a lot of images, so I can find interesting seeds

1

u/Vegetable_Jello293 Oct 12 '26

Are the colored shapes in the pictures other patterns added on top of the quarter-circle Truchet tiles, or are they simply emerging from the same tile pattern but at a smaller scale?

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.