Hero image

Multiple Moving Sqaures

What the code does

Shows how to animate two squares moving sinusoidally across the screen with different colours and different lateral offsets. Exit demo by pressing any key.

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image