Uploaded June 2025 | Updated September 2026, 2 weeks 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!






![Self-driving car - No libraries - JavaScript course [Lecture 8]
Self-driving car - No libraries - JavaScript course [Lecture 8] Self-driving car - No libraries - JavaScript course [Lecture 8]](https://i.ytimg.com/vi/hVctn8x3jMA/mqdefault.jpg)



