Optical Illusion Lab
Create mind-bending optical illusions
About the Optical Illusion Lab
Optical illusions are math made visible — spirals, interference patterns, and motion effects that trick the eye into seeing movement or depth that is not there. This lab renders five algorithmic illusions live and lets you bend their parameters in real time, then animate them so the effect comes alive.
Teachers demonstrate perception and pattern in class, designers generate hypnotic backgrounds and visuals, and the curious simply play with mesmerizing geometry. You choose from an Archimedean or logarithmic spiral, a moiré pattern, a geometric illusion, or a motion illusion, then tune the density, size, rotation, and animation speed, and recolor it in grayscale, rainbow, or your own custom palette.
How to Use the Optical Illusion Lab
- Pick an illusion type: Archimedean spiral, logarithmic spiral, moiré pattern, geometric, or motion.
- Adjust the density, size, and rotation sliders to shape the pattern.
- Choose a color scheme — grayscale, rainbow, or two custom colors — and press play to animate, setting the speed.
- Download your creation as a PNG or JPG.
Why Use ToolForge’s Optical Illusion Lab
- It generates five mathematically distinct illusions algorithmically, so you explore real parametric patterns rather than a handful of fixed presets.
- Real-time sliders for density, size, rotation, and speed let you reshape and animate the pattern and watch it respond instantly.
- Color schemes — grayscale, rainbow, or a custom two-color palette — change the whole mood of the illusion.
- Everything renders on an in-browser canvas and exports to an image, with no account.
Frequently Asked Questions
What kinds of optical illusions can I make?
Five: an Archimedean spiral (evenly spaced coils), a logarithmic spiral (coils that grow exponentially), a moiré pattern (interference from overlapping line sets), a geometric illusion built from arranged circles, and a motion illusion of concentric circles with a wave offset.
How does the animation create a sense of motion?
Pressing play continuously rotates or shifts the pattern frame by frame, and at the right speed your visual system perceives flowing or pulsing movement. The speed slider controls how fast the rotation advances, changing the intensity of the effect.
What do the density and size sliders change?
Density controls how many elements make up the pattern — the number of spiral turns, the line spacing in a moiré, or the count of shapes and circles — while size scales the geometric and motion illusions. Together they let you go from sparse and bold to dense and intricate.
Can I use these illusions in my own projects?
Yes — download your creation as a PNG or JPG and use it as a background, graphic, or teaching aid. Since you generate it yourself from the parameters you choose, you can make as many unique variations as you like.
