Based on the game in this Chaos Theory docu. Wikipedia. By @bobvanluijt, extended by Laura Ham.
Speed in ms: (0 = instant). Amount of dots
Coloring: (Choose a number between 0 and 6).
Random number: 0.
new X, Y = 0, 0.
Result: 0 of 0.