Back to Browse

Scintillating Grid Optical Illusion using JavaScript

1.3K views
Jun 27, 2025
7:51

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!

Download

1 formats

Video Formats

360pmp413.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Scintillating Grid Optical Illusion using JavaScript | NatokHD