Geometry nodes get instance position and use it recursively

Hi everyone,

I created a node setup that instanciates circles around another circle and placed it in a node group.

Nothing fancy here, just a bit of maths and geometry.

It created this kind of geometry :slight_smile:

Now when I connect two of these node groups, I’m able to reproduce the pattern on the inner circle, which is centered at [0,0,0] like below with 3 levels.


2mX2R

Now my question is, How can apply the recursivity on the small circles around the original ones (the ones that have a radius R2) ?

Thanks

1 Like

you can instance your node group on your circle(that was instanced) and do your math on that according to its radius.

like: node group > instances to points > instance on points (another nodegroup going to instance socket)

useful setup by the way

Not sure if this is the kind of solution you are looking for but maybe it helps. You can get the “radius” of the previous iteration via x or y coordinate of the bounding box like this (provided everything is lying flat on the local space):

And of course you can add the concentric “bound” circles by joining a circle of radius r2 + r3:

3 Likes

I realize I didn’t take time to thank you all for these answers, so now it’s done. Thank you Chanfiroly, your solution works great.

1 Like