...the dots like to be close - but not TOO close...

I was working on the problem of comparing the positions of every object to every other object on the screen and setting the speed, direction and distance according to proximity. That's a lot of comparisons and my first few attempts were pretty slow. I think I've improved the coding quite a bit for this one.

I've just created a more elaborate version which includes birth, death, food and energy — you can see it here

by the way... this is just about fast enough on my 1Ghz PC - it may be slow on older machines)