High-fidelity CSS/JS sandbox demonstrating 3D perspective card layers, custom clip-path masking, dynamic pointer-tilt tracking, and chromatic filters.

3D Layered Image Hover Sandbox

An advanced visual sandbox showcasing a highly configurable multi-layered image deck. Users can tweak live variables in real time — including 3D perspective depth offsets, pointer tilt multipliers, rotation spreads, chromatic saturation filters, and custom CSS clip-path geometries (hexagon, diamond, circle, rectangle). Features smooth velocity mouse tracking using GSAP quickTo alongside direct CSS Custom Property overrides. (Requires: gsap.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 57+ Edge Edge 79+ Firefox Firefox 54+ Safari Safari 10.1+
Features:
3D Layer Stack Live Custom Tuners Clip-Path Geometry
License: MIT

See the Pen 3D Layered Image Hover Sandbox.

Interactive 3D image card with a WebGL RGB color split and pixel displacement hover effect

WebGL RGB Shift Image Card

This is a WebGL RGB Shift Image Card. It renders a high-resolution raster image onto a 3D geometric plane, applying dynamic visual distortions based on pointer intersection. Its function is to elevate standard portfolio grids or hero sections into highly tactile, immersive experiences, replacing standard CSS transitions with complex mathematical pixel manipulation. (Requires: Three.js, GSAP)

Technologies:
HTML SCSS Babel
Difficulty: Advanced
Browser Support (as of Apr 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 12+
Features:
Custom Shaders RGB Split 3D Tilt Raycasting
Code by: TheFrost TheFrost
License: MIT

See the Pen WebGL RGB Shift Image Card.

High-resolution urban photography transitioning with a radial zoom blur effect controlled by mouse coordinates in WebGL

Cinematic Zoom Blur Image Gallery

This is a Cinematic Zoom Blur Image Gallery. It utilizes custom GLSL fragment shaders and Three.js to create a high-fidelity transition between image textures. Its function is to provide an immersive navigational layer for visual portfolios, where spatial depth and radial blur replace standard linear crossfades. (Requires: Three.js, GSAP)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
Shader Transitions Mouse Tracking Smooth Lerp GPU Rendering
Code by: Kevin Levron Kevin Levron
License: MIT
Photorealistic 3D model of a MacBook Pro floating on a gradient background, with the lid animating from closed to open, revealing a lit screen

3D Interactive MacBook Model

This is a 3D Interactive MacBook Model. It utilizes Three.js to load, texture, and animate a high-fidelity .glb model of a laptop. Its function is to create a premium, cinematic product showcase, replacing static hero images with a fully interactive WebGL scene that animates through a complex opening and booting-up sequence. (Requires: Three.js, GSAP, lil-gui)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
GLTF Loading GSAP Timelines Orbit Controls Webcam Integration
License: MIT

See the Pen 3D Interactive MacBook Model.

Three rotating 3D geometric shapes (Torus Knot, Icosahedron, Torus) rendered in a WebGL canvas with high-gloss matcap crystal textures

Matcap Instanced Disco Geometry

This is a Matcap Instanced Disco Geometry demo. It renders multiple unique 3D geometries (Torus Knot, Icosahedron, Torus) using the WebGL Instanced Mesh technique. Instead of drawing individual planes for every mirror on the surface of the shape, it creates one InstancedMesh per object, mathematically orienting thousands of tiny reflective mirrors to mimic a faceted, crystal-like disco surface. (Requires: Three.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
WebGL Instancing Matcap Shading Geometry Merging Multi-view Scissor Rending
License: MIT
A photograph shattering into hundreds of square fragments that fly toward the camera, revealing another image beneath

Shattering Image Gallery Transition

This is a Shattering Image Gallery Transition. It utilizes the WebGL API via Three.js to deconstruct 2D images into a matrix of 3D particles. Its function is to replace standard fade or slide slideshows with a highly cinematic, physics-based explosion effect, transitioning between photographs by blowing the current image apart to reveal the next one underneath. (Requires: ThreeJS, GSAP)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
WebGL Shaders Instanced Rendering Scroll Navigation Mouse Parallax
Code by: Kevin Levron Kevin Levron
License: MIT
Perspective view of a seemingly infinite wall of movie and TV show posters tilting backwards into a dark background

Infinite 3D Poster Scroll Wall

This is an Infinite 3D Poster Scroll Wall. It constructs a dense, continuous grid of cinematic assets rendered entirely in WebGL. Its function is to provide a visually overwhelming, highly performant “hero” background that automatically fetches live data from an external API and perpetually scrolls along a tilted perspective plane. (Requires: ThreeJS)

Technologies:
HTML SCSS JavaScript
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
Infinite Scroll API Integration WebGL Rendering Dynamic Textures
Code by: James Dow James Dow
License: MIT

See the Pen Infinite 3D Poster Scroll Wall.

Isometric 3D grid with a bright blue cube bouncing and leaving a trail on dark blue platform blocks

Isometric 3D Bouncing Cube Animation

This is an Isometric 3D Bouncing Cube Animation. It utilizes the Zdog.js engine to render a pseudo-3D geometric scene onto a flat HTML Canvas. Its function is to provide an engaging, continuous background animation where a wandering cube paints a trail across a structural grid, adding depth and kinetic energy to otherwise static hero sections. (Requires: Zdog)

Technologies:
HTML CSS JavaScript
Difficulty: Intermediate
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
3D Grid Path Tracking Canvas Rendering Isometric View
Code by: borntofrappe borntofrappe
License: MIT
Three colorful pricing cards with interactive 3D geometric shapes rotating on hover, presented in a swipeable carousel

Interactive 3D Pricing Card Slider

This is an Interactive 3D Pricing Card Slider. It integrates WebGL geometric renders into a standard product tier UI. Its function is to convert static pricing options into an engaging, tactile spatial experience. (Requires: three.js, swiper.js)

Technologies:
Pug SCSS JavaScript
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
WebGL Rendering Mouse Tracking Carousel Slider
Code by: @BrawadaCom @BrawadaCom
License: MIT
Dark themed 3D coverflow image gallery with floor reflections and interactive zoom effect

Interactive 3D Coverflow Gallery

This is an Interactive 3D Coverflow Gallery. It organizes visual media into a spatial environment. Its function is to replace flat grids with depth-based navigation, using mathematical inverse transformations to zoom into selected items seamlessly.

Technologies:
HTML SCSS JavaScript
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
Inverse Transform Zoom Box Reflection Dynamic DOM Generation
Code by: Julien Sulpis Julien Sulpis
License: MIT
Dark background with glowing 3D neon tubes in pink, green, and blue following the mouse cursor in a snake-like motion

Neon 3D Tubes Cursor Trail

This Neon 3D Tubes Cursor Trail brings high-end motion graphics to the web browser. Using the power of WebGL and Three.js, it generates a serpentine trail of glowing 3D geometry that fluidly follows the user’s input. The effect features dynamic lighting that casts soft glows on the tubes, and it includes a built-in interaction where clicking the screen instantly randomizes the color palette, keeping the visual experience fresh. (Requires: threejs-components (External Lib))

Technologies:
HTML CSS JavaScript
Difficulty: Beginner
Browser Support (as of Feb 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13.1+
Features:
3D Trail Dynamic Lighting Procedural Color High Performance
Code by: Kevin Levron Kevin Levron
License: MIT

See the Pen Neon 3D Tubes Cursor Trail.

A digital photo of a serene landscape being physically torn in half from top to bottom, revealing another photo underneath, rendered in 3D.

Tearing Paper Photo Gallery

This Tearing Paper Photo Gallery is a technical marvel that simulates the physical act of ripping a photograph in half. Unlike simple 2D masking effects, this component uses WebGL (Three.js) to deform the geometry in 3D space. As the user drags downward, the “paper” mesh splits, rotates, and tears along a procedural edge, complete with lighting and shadow effects generated by custom shaders. (Requires: Three.js, GSAP)

Technologies:
HTML SCSS Babel
Difficulty: Advanced
Browser Support (as of Jan 2026):
Chrome Chrome 90+ Edge Edge 90+ Safari Safari 15+ Firefox Firefox 90+
Features:
Physics-based Tearing Custom Shaders Interactive Geometry Procedural Texture Generation
Code by: Steve Gardner Steve Gardner
License: MIT

See the Pen Tearing Paper Photo Gallery.

A procedural 3D animation of an eagle flying over a desert, rendered with WebGL.

3D Raymarching WebGL Animation: Little Eagle

A detailed procedural 3D eagle flying over a desert, rendered via raymarching. Features animated wings and legs, a math-generated environment (sky, sun, sand), and interactive camera rotation on mouse drag.

A 3D animation of playing cards cascading and flipping in a continuous loop.

Flipping Playing Cards

A mesmerizing 3D animation of cascading playing cards fetched dynamically from the Deck of Cards API via JavaScript.

See the Pen Flipping Playing Cards.

Psychedelic WebGL animation of flying through an endless field of transparent, rotating glass cubes.

Cubes

An infinite, psychedelic flight through a field of glass cubes that refract light and respond to camera interaction, creating a deep immersion into a tumbling crystalline structure.

See the Pen Cubes.

Extreme Hover with HTML and CSS

Extreme Hover with HTML and CSS

A visually dynamic and impressive effect where hovering over a static image transforms it into a complex, 3D-like collage, showcasing the capabilities of CSS transitions and imperative loading control.

3D Sign Up Button with Spline and GSAP

3D Sign Up Button with Spline and GSAP

A 3D scene from Spline is loaded using the Spline Runtime, and its objects are brought to life with programmatic animation in GSAP. This approach allows you to avoid low-level WebGL by using a powerful timeline to create complex interactive scenarios, with the code already containing stubs for finding and controlling objects.

Lighting Cubes Grid

Lighting Cubes Grid

This demo uses the ANGLE_instanced_arrays extension to efficiently animate a volumetric grid of cubes. See how a single regl command can handle complex transformations and lighting for every instance.

See the Pen Lighting Cubes Grid.