The "Types interaction array" just displays how the dots interaction with each other. Positive mean repel, negitive means atract.
Instead of the extremely convuluted process 25dalan01 used, I replaced it with var = (interaction strength) / (distance without sqrt plus one) and change (speed x/y) by ((speed x/y) * var) This is way fast than25dalan01's eqation, this is about 3 times faster