Skip to content
motionprompts

Three.js and WebGL effect examples

These examples run on the GPU: Three.js scenes, raw WebGL with GLSL shaders, and one WebGPU hero. Fluid simulations solve the Navier-Stokes equations on the graphics card so ink, lava or water reacts to the cursor. Image effects map photos onto planes and bend them with refraction, fractal glass, grid deformation or a page curl tied to scroll. 3D galleries place images on cylinders, spirals, spheres and tunnels that you scroll or drag through.

Scroll experiences load glTF models and move a camera through them with GSAP ScrollTrigger, and a product viewer switches PBR materials and glass transmission in real time. WebGL is the right tool when the effect needs per-pixel control or real depth, and the wrong one for anything CSS transforms already do. These are the heaviest components in the library, so each page lists the performance cost and, where it has been checked, whether the effect is safe on mobile.

Open the interactive gallery ↗

The examples

Page Curl Hero previewNewPage Curl Hero3D / WebGL WebGPU ASCII Hero previewWebGPU ASCII Hero3D / WebGL 3D Material Finish Switcher preview3D Material Finish Switcher3D / WebGL 3D Scroll Tunnel previewFree3D Scroll Tunnel3D / WebGL Fractal Glass Parallax Effect previewFractal Glass Parallax Effect3D / WebGL Nocturne Baths, Fluid Splash Cursor previewNocturne Baths, Fluid Splash Cursor3D / WebGL 3D CRT Display preview3D CRT Display3D / WebGL ThreeJS 3D Slider previewThreeJS 3D Slider3D / WebGL Ashfall 3D Cylinder Gallery previewAshfall 3D Cylinder Gallery3D / WebGL Asset ORB previewAsset ORB3D / WebGL Brutalist Sci-fi Corridor previewBrutalist Sci-fi Corridor3D / WebGL Water Ripple Text Simulation previewWater Ripple Text Simulation3D / WebGL Grid Deformation Effect previewGrid Deformation Effect3D / WebGL Kaitonote 3D Gallery Showcase previewFreeKaitonote 3D Gallery Showcase3D / WebGL Cappen Fluid Simulation previewCappen Fluid Simulation3D / WebGL 3D Scroll Scanner Experience preview3D Scroll Scanner Experience3D / WebGL 3D Tunnel Image Slider Carousel preview3D Tunnel Image Slider Carousel3D / WebGL Cursor-Driven Material Spotlight previewCursor-Driven Material Spotlight3D / WebGL Lava Buster Fluid Simulation previewLava Buster Fluid Simulation3D / WebGL Three.js 3D Scroll Experience previewThree.js 3D Scroll Experience3D / WebGL StudioDialect 3D Spiral Image Gallery previewStudioDialect 3D Spiral Image Gallery3D / WebGL ThreeJS 3D Video Gallery previewThreeJS 3D Video Gallery3D / WebGL WebGL Interactive Gradient previewWebGL Interactive Gradient3D / WebGL

Other categories