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

Cinematic Zoom Blur Image Gallery

demo & code

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.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
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

demo & code

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.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Three rotating 3D geometric shapes (Torus Knot, Icosahedron, Torus) rendered in a WebGL canvas with high-gloss matcap crystal textures

Matcap Instanced Disco Geometry

demo & code

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.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
A photograph shattering into hundreds of square fragments that fly toward the camera, revealing another image beneath

Shattering Image Gallery Transition

demo & code

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.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Perspective view of a seemingly infinite wall of movie and TV show posters tilting backwards into a dark background

Infinite 3D Poster Scroll Wall

demo & code

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.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Isometric 3D grid with a bright blue cube bouncing and leaving a trail on dark blue platform blocks

Isometric 3D Bouncing Cube Animation

demo & code

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.

Level: Intermediate
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Three colorful pricing cards with interactive 3D geometric shapes rotating on hover, presented in a swipeable carousel

Interactive 3D Pricing Card Slider

demo & code

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.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Dark themed 3D coverflow image gallery with floor reflections and interactive zoom effect

Interactive 3D Coverflow Gallery

demo & code

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.

Level: Intermediate
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
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

demo & code

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.

Level: Beginner
Browser Support [As of Feb 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
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

demo & code

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.

Level: Advanced
Browser Support [As of Jan 2026]: Chrome 90+, Edge 90+, Safari 15+, Firefox 90+
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.

See the Pen Extreme Hover with HTML and CSS.

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.