how to connect objects with splines with animation nodes? I have a group of objects all with keyframed movement. I want to a create splines between the closest objects as they move like this...

https://www.youtube.com/watch?v=k9MvcCXsHHY

I know you can connect particles like this...



but dont know how to do the same effect with a group of objects.
Add your objects to a group or a collection. Then get the objects using the Collection Info node or the Objects From Group node. Finally, get their locations using the Object Transforms Input node. We now have the points locations, we use the Find Close Points and Splines From Edges node to create the splines as follows: