StealThis .dev

Interactive 3D Mouse Scene

Grid of 400 spheres with mouse-reactive repulsion physics, spring return, and distance-based color.

Open in Lab
three.jsinstanced-meshraycaster
Targets: JS HTML

Code

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { background: #030510; color: #f0f4fb; font-family: 'Inter', 'SF Pro Display', system-ui, sans-serif; overflow: hidden; height: 100vh; }

#canvas-container { position: fixed; inset: 0; z-index: 0; }
#canvas-container canvas { display: block; width: 100%; height: 100%; }

.overlay {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2;
  text-align: center; padding: 3rem 2rem; pointer-events: none;
}

.eyebrow { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: #86e8ff; margin-bottom: 0.75rem; display: block; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; text-shadow: 0 0 40px rgba(134,232,255,0.2); }
.subtitle { font-size: clamp(0.85rem, 1.5vw, 1rem); color: rgba(255,255,255,0.5); max-width: 420px; margin: 0.5rem auto 0; line-height: 1.5; }

.btn-back {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
  padding: 0.6rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(134,232,255,0.2); color: #86e8ff; text-decoration: none;
  font: 600 0.8rem/1 'Inter', system-ui, sans-serif;
  background: rgba(3,5,16,0.7); backdrop-filter: blur(8px); transition: all 0.25s;
}
.btn-back:hover { background: rgba(134,232,255,0.08); border-color: #86e8ff; }

Interactive 3D Mouse Scene

Grid of 400 spheres with mouse-reactive repulsion physics, spring return, and distance-based color.

Source

  • Repository: libs-genclaude
  • Original demo id: 10-interactive-3d

Notes

Grid of 400 spheres with mouse-reactive repulsion physics, spring return, and distance-based color.