Watch these dots move. They will never hit each other, ever. Also, these dots are moving in a straight line. Press Space or press toggle to see the magic happen. Look at Notes and Credits to understand what's happening.
The way this works is that the dot going side to side always keeps its y at 0, but its x at the x of the red dot and the dot going up and down always keeps its x at 0, but its y at the y of the red dot.