Merge two or more shapes according to their position

Hello everyone,
I’ve been using Touchdesigner for a short time.
Is there any way to merge two or more shapes based on their position relative to each other?

Use case:
Two shapes (circles) are controlled separately with Kinect. When the two circles approach each other, the circles should merge and not overlap.

Do you have tips for me how I can solve the problem?

kind regards

Are you talking about in SOPs or TOPs? SOPs are more complex, since you’d most likely use a boolean of some kind. Additionally, you could use TOPs and have a much easier time. But can you clarify a little more?

Hello, thanks for your answer!
If it is easier with tops, that would probably be more the right way for me.

I have attached a few pictures that explain the steps better.

If you want them to sorta melt into each other like the bottom right example, you could also look into metaballs

Alternately, if you use tops, you can blur the circles, apply a threshold, and that should also give you a soft-merge effect like this:
TouchDesigner_R8vbnV2gUp

Thx for the info :wink: