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.

2018.11.01_mcneel_forum.gh (26.9 KB)

Have you looked at this thread from the old forum?
https://www.grasshopper3d.com/forum/topics/differential-growth-in-curves?id=2985220%3ATopic%3A1313465&page=2

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)

2 Likes