Uploaded June 2025 | Updated November 2026, 3 days ago
In this video, I'll guide you through the steps to code the scintillating grid optical illusion from scratch. This illusion makes you see dark spots at the intersections of a grid, which disappear as you try to focus on them. Using JavaScript and HTML Canvas, we’ll create this mesmerizing effect while practicing some fundamental coding techniques. By the end of the tutorial, you’ll not only have a cool illusion to show off but also a deeper understanding of how to manipulate visuals with JavaScript. Let’s dive in and make your brain do a double-take!
In this video, I'll guide you through the steps to code the scintillating grid optical illusion from scratch. This illusion makes you see dark spots at the intersections of a grid, which disappear as you try to focus on them. Using JavaScript and HTML Canvas, we’ll create this mesmerizing effect while practicing some fundamental coding techniques. By the end of the tutorial, you’ll not only have a cool illusion to show off but also a deeper understanding of how to manipulate visuals with JavaScript. Let’s dive in and make your brain do a double-take!










