forever components

CSS 3D & Perspective

Exploded Cube Bloom

A pink neon wireframe cube continuously spins on two axes while breathing between sealed and exploded states; pointer and click amplify the bloom burst.

cssmedium complexitymoderate motionpointer

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Dark-theme hero sections, tech/cyberpunk brand headers, ambient 3D loop backgrounds.

When not to

Light backgrounds (hardcoded dark magenta bg). Content-heavy layouts where persistent 3D motion competes with reading.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Change the neon color from pink to electric cyan (#00eaff), slow the spin speed by halving ry (t*11 instead of t*22), and increase explode travel to 1.5.

Safe to edit

  • neon color (rgba(255,90,138,.55) border + ::after glow)
  • spin speed (t*22 in ry)
  • explode distance (0.95 + push multiplier)
  • breath cycle speed (t*0.42)
  • cube size (--s clamp values)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard with static fallback
  • visibilitychange pause/start
  • transform-style:preserve-3d on both rig and faces

Known limitations

  • Background color hardcoded in CSS — must edit to change from dark magenta
  • push decay (0.95) means pointer/click effect fades quickly; increase to 0.98 for longer bloom hold

3dcubecss-3dwireframeexplodeneonloop

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.