Curve growth within region

I’m attempting to grow a curve within a given region similar to ZHA’s Thallus project (seen here). To begin, I’m taking more of a simple ‘proof-of-concept’ approach where I’m using a circle as the region, and I’m not varying the radii of the collision spheres, but for some reason, my growing curve isn’t behaving right. The circles that are supposed to be colliding are passing inside and through each other resulting in a messy line. (26.9 KB)

Have you looked at this thread from the old forum?

1 Like

Have a look at @LongNguyen 's excellent C# for Grasshopper class.

Around the second hour he works through a scripts similar to what you’re looking at doing. (IMHO simple enough to play around with even if you don’t have lots of scripting experience)