Test 1

Incrementing the position of the rectangles is scheduled to happen every 10 ms using setInterval.

Rectangles in cloud: