StealThis .dev

Three.js Distorted Plane Shader

Fullscreen shader background with procedural distortion and glow.

Open in Lab
threejsshaderwebgl
Targets: JS HTML

Code

:root { --bg:#04070f; --text:#eef4ff; --muted:#c2d0e7; --accent:#8ce8ff; }
* { box-sizing: border-box; }
body { margin:0; font-family:"Avenir Next","Segoe UI",sans-serif; background:var(--bg); color:var(--text); }
#scene { position: fixed; inset: 0; }
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 20; display:flex; justify-content:space-between; align-items:center; padding:.75rem 1rem; background:rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.topbar a { color:var(--accent); text-decoration:none; font-weight:700; }
button { border:1px solid rgba(255,255,255,.25); border-radius:999px; background:rgba(255,255,255,.07); color:var(--text); padding:.45rem .8rem; cursor:pointer; }
.overlay { position: relative; z-index: 10; min-height: 100vh; width:min(900px,92%); margin:0 auto; display:grid; align-content:center; gap:.7rem; text-align:center; }
.label { margin:0; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
h1,p { margin:0; }
h1 { font-size: clamp(2rem, 7vw, 4.2rem); }
p { color:var(--muted); }

Three.js Distorted Plane Shader

Fullscreen shader background with procedural distortion and glow.

Source

  • Repository: libs-gen
  • Original demo id: 10-threejs-distorted-plane

Notes

Fullscreen shader background with procedural distortion and glow.