Optical illusion with a circle of circles
- Experiment
- Vue.js
Hover (click on mobile) the graph to see each circle’s path.
A optical illusion occurs when a series of circles moving in straight lines. After seeing a YouTube video with the same illusion, I wanted to challenge myself to make it in d3.js.
In the code below you’ll see that I’m using d3’s easeSinInOut
method to achieve this animation.