In the first example, the two ‘barbells’ are rotating opposite directions,
which can create the optical illusion of the balls bouncing off each other.
which can create the optical illusion of the balls bouncing off each other.
In the second, the lower two balls are always blue and upper two are red.
It is the same as the first, only the colors are changing.
It is the same as the first, only the colors are changing.
In the third, the balls are actually bouncing off each other.
The ‘barbells’ rotate until contact and then reverse direction.
The ‘barbells’ rotate until contact and then reverse direction.
Clackers CSS Animation
Here are three versions of this illusion, reminiscent of the Clackers toy.