Circle Illusion using JavaScript @Radu
Circle Illusion using JavaScript  @Radu
Uploaded February 2025 | Updated September 2026, 2 weeks ago
In this video, I'll guide you through an exciting coding project where we create an optical illusion that tricks the eye into seeing a circle move on-screen. The twist? Each ball is actually just moving in a straight line! We'll use JavaScript and HTML Canvas to build this from scratch. By the end of this tutorial, you'll have a fun visual trick up your sleeve and a better grasp of animation techniques in JavaScript. Let's dive in and create some coding magic!

Shoutout to James: codesandbox.io/p/sandbox/impossible-triangle-3pttmw
Inspiration: facebook.com/reel/7795967317105904
Circle Illusion using JavaScriptJavaScript 🎀 Christmas Calendar 📅 Day 5 🎄🚙Self-driving Car🍂AUTUMN🍂 Easter Egg 🐰🎅JavaScript 🔔 Christmas Calendar 📅 Day 19 🎄JavaScript Video Effect for ChristmasOptical Illusion with HTML, CSS and JavaScriptCreative Coding Competition ⭐Status Report⭐Machine Learning Course - Lesson 6: K Nearest Neighbors Classifier (JavaScript - No Libraries)🚙Self-driving Car⛵BOAT⛵ Easter Egg 🐰🎅Machine Learning Course - Lesson 16: Optimizing Neural NetworksAdvanced Drawing App | LIVE JavaScript Coding | Part 1: Paths, Rectangles, Fills and StrokesJavaScript Infinite Zoom Effect (Part 2)
Radu Mariescu-Istodor |

Circle Illusion using JavaScript

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER