Uploaded August 2025 | Updated September 2026, 2 weeks ago
A while ago, I made a video about drawing yellow in 10 different ways and asked for your ideas. After reading your comments, I realized I could’ve come up with 20 ways!
One comment really caught my attention—it suggested drawing yellow by alternating red and green pixels.
In today’s video, we’ll explore this fascinating optical illusion together. We’ll use HTML canvas and JavaScript to experiment with alternating red and green pixels to see if they trick our eyes into seeing yellow. We'll also use a microscope!
Let’s take a closer look at this optical illusion and learn how to code it step by step.
Original video youtu.be/7wv16bZmP2A
A while ago, I made a video about drawing yellow in 10 different ways and asked for your ideas. After reading your comments, I realized I could’ve come up with 20 ways!
One comment really caught my attention—it suggested drawing yellow by alternating red and green pixels.
In today’s video, we’ll explore this fascinating optical illusion together. We’ll use HTML canvas and JavaScript to experiment with alternating red and green pixels to see if they trick our eyes into seeing yellow. We'll also use a microscope!
Let’s take a closer look at this optical illusion and learn how to code it step by step.
Original video youtu.be/7wv16bZmP2A










