CSS 3D & Perspective
Vanishing Point Grid
Teal neon floor-and-ceiling grid rushes toward a glowing vanishing-point core. Pointermove and click boost speed; motion-blur trail from partial canvas fade.
canvasmedium complexityintense motionpointer
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Dark-mode hero backgrounds, sci-fi or retro-futurist themes, loading screens, or any ambient tunnel effect.
When not to
Light backgrounds (hardcoded dark navy). Content overlays — intense motion competes with legible text.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change grid color from teal to magenta by replacing all 'rgba(45,212,191' with 'rgba(236,72,153' and core glow '#cffff6' to '#fce7f3'.
Safe to edit
- scroll speed (speed=0.022)
- grid columns/rows (COLS=14, ROWS=26)
- grid line color (rgba(45,212,191,...))
- click boost multiplier (boost=2)
- FOV sharpness (FOV=0.9)
Keep intact
- gradients rebuilt on resize only (hazeGrad, coreGrad, vignGrad)
- visibilitychange pause/resume
- prefers-reduced-motion static fallback
- IIFE wrapper
Known limitations
- Background color hardcoded in CSS (#070b14) — must change both CSS and canvas fill to retheme
- No reduced-motion fallback animation — shows a single static dark frame
- Pointer boost decays but never fully resets until next pointermove
More CSS 3D & Perspective components
- Rotating CubeGlowing sage-green wireframe cube slowly auto-rotates in CSS 3D with a subtle sine-wave tilt; pointer movement offsets the rotation to follow the cursor.
- Card Deck FanSeven gold-and-mauve playing cards fan open and closed in a sine-wave 3D arc using CSS rotateZ and perspective transform.
- Coverflow RingEight vivid gradient cards orbit in a 3D coverflow ring with CSS perspective and per-card reflections. Pointer X position steers rotation speed.
- Folding Paper4-panel paper accordion folds and unfolds in a zig-zag CSS 3D motion, slowly rotating on a dark green background. Cream front and sage back faces alternate.
- Isometric Blocks3x3 grid of soft lilac CSS 3D cubes bobs in a staggered sine wave on a dark lilac-tinted ground. Three shaded faces per cube simulate isometric lighting.
- Parallax DepthA glowing sun with colored orbiting dots on layered CSS 3D planes that tilt and parallax toward the pointer; auto-orbits until interaction.