Hi Daniel,
I’m loving these self-assembling videos! I’m wondering if it would be possible to apply this attraction/repulsion goal to rigid bodies, to create different types of lattices? I came across this thread on using kangaroo to pack 3D prints and it got me thinking it would be fun to combine this to create magnetic toy simulations.
I tried combining collisions with your custom goal and then adding a magnetic snap within a certain range but I am getting pretty chaotic results…

I’m trying to see if I could make something that with enough time would assemble into this.

My best guess is that the collider component is creating a rounded end around my attraction/repulsion points and preventing the ends of each node to get within snapping distance of one another. In which case can you think of a way to create a cylinder collider with flat instead of round caps? I’m probably also missing something with your custom goal. Does range refer to the distance at which each point samples its neighbors and radius the distance that the points will snap into one another’s orbit?
nodePolarity_simple.gh (38.3 KB)
Anyways thanks as always for the fun example files.