I Coded MILLIONS of Colorful Dots That Zoom Out FOREVER!
⚠Please note: This animation was created by me through custom Java code within the Processing software. While the visuals might appear simple, they are the result of considerable programming effort and are not pre-made templates.
Title : I Coded MILLIONS of Colorful Dots That Zoom Out FOREVER!
Ignored Keywords :
satisfying video,satisfying,satisfying 3d video,oddly satisfying video,satisfying videos,oddly satisfying,satisfying loop,satisfying 3d animation videos,looping,best satisfying,satisfying video ever,satisfying video in the world,the most satisfying video,most oddly satisfying video,best oddly satisfying video,oddly satisfying videos,video,the most satisfying video in the world,most oddly satisfying,looping videos,relaxing video
So, I was just messing around in Shadertoy the other day, you know how it is, just trying out some coding ideas, and I stumbled onto this effect that I thought looked pretty cool and kinda hypnotic. Had to share it!
What you're seeing is basically this grid of colourful circles that just seems to zoom out... forever? It feels like you're flying backwards through an endless universe of these little dots. They just keep getting smaller and revealing more behind them. Pretty trippy, right?
Now, how does it actually work? Well, the neat trick here is that it's not really drawing millions of circles that actually exist somewhere. My computer would probably melt! Instead, it's all procedural magic using shader code (GLSL).
The "zoom out" effect is actually achieved by scaling up the coordinate system the circles are drawn on. Think of it like stretching a rubber sheet with dots drawn on it – as you stretch the sheet (scaling up the coordinates), the dots appear to get smaller and further apart relative to your view. That exp(iTime) part in the code is doing the heavy lifting, constantly increasing the scale over time.
And the colours? They look random, but each circle actually keeps its own specific colour, right? That's done using a simple 'hashing' function. Basically, the code takes the grid position of each circle, runs it through a quick math formula (hash21), and gets a unique-but-consistent number. That number determines the hue, so circle number 5 always gets the same colour, circle number 1024 gets its same colour, and so on. No flickering, just stable randomness!
Is it really possible to zoom out infinitely? Well, no, not in the physical sense! But this is the beauty of computer graphics and procedural generation. We can use math to create these convincing illusions of infinite space or detail without needing infinite resources. It's a classic visual trick, and honestly, I find it pretty mesmerizing just to watch loop.
Anyway, just a fun little visual experiment I wanted to put out there. Let me know what you think in the comments below! Always interesting to see what crazy visuals you can cook up with a bit of code.
Cheers!
Keywords:
Shadertoy, GLSL, creative coding, generative art, procedural generation, infinite zoom, zoom effect, coding tutorial, shader programming, visual effects, VFX, animation, optical illusion, circle grid, colourful dots, math art, computer graphics, programming art, endless loop, hypnotic animation
I Coded MILLIONS of Colorful Dots That Zoom Out FOREVER!