Things that will attract other things. They must have a position and mass
Gravity constant. This will have to be tweaked to taste. A value of 0.005 is a good starting point
Min/max that distance is clamped to. This affects how tightly the particles will orbit and can also determine speed. By default it is 0.001-0.7
Optional Readonlymax?: numberMaximum distance. Defaults to 0.7
Optional Readonlymin?: numberMinimum distance. Defaults to 0.001
A function that can be applied to a thing to set its acceleration based on the attractors
For a given set of attractors, returns a function that a sets acceleration of attractee. Keep note though that this bakes-in the values of the attractor, it won't reflect changes to their state. For dynamic attractors, it might be easier to use
computeAttractionForce.