Interactive WebGL background composed of thousands of colored 3D cube particles that seamlessly converge into a portrait as the user scrolls.

Scroll-Driven Particle WebGL Image Matrix

An advanced scroll-driven WebGL experience powered by Three.js and GSAP. A fixed background canvas uses InstancedMesh to render nearly 50,000 distinct 3D cube particles, colored dynamically by extracting color values from an image mapped onto a hidden canvas. As the user scrolls down the page, the camera’s Z-axis position transitions, causing the scattered cubes to seamlessly converge into a photographic portrait. (Requires: three.js, gsap.js)

Technologies:
HTML/Pug CSS/Less JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 56+ Edge Edge 79+ Firefox Firefox 51+ Safari Safari 15+
Features:
WebGL Particles Scroll Triggered Instanced Mesh
Code by: ycw ycw
License: MIT
Interactive WebGL jigsaw puzzle featuring glassmorphic physics-based pieces, real-time board snapping, and a halftone SVG filter overlay preview.

Glass Physics 3D Jigsaw Puzzle

An advanced WebGL jigsaw puzzle simulation featuring realistic glass-like pieces powered by Three.js and Cannon.js. Each puzzle shape combines extruded spline geometries with compound rigid-body collision shapes to precisely model the jigsaw tabs and gravity. It includes an interactive preview container styled with a complex SVG halftone dot filter that fades dynamically using CSS @property transitions. (Requires: three.js, cannon.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 85+ Edge Edge 85+ Firefox Firefox 128+ Safari Safari 16.4+
Features:
3D WebGL Physics Engine Halftone Filters
Code by: Den Den
License: MIT

See the Pen Glass Physics 3D Jigsaw Puzzle.

An interactive isometric 3D bedroom rendered with Three.js, utilizing baked textures, normal maps, and orbit controls.

Interactive 3D Baked Room Concept

Interactive 3D Baked Room Concept leverages Three.js to render a detailed, stylized isometric room. Instead of heavy real-time shadows, the design uses a baked texture mapping approach (bakedTexture, normalTexture, occlusionTexture) for highly optimized, realistic ambient occlusion. Standard OrbitControls allow smooth user navigation within restricted bounding limits, preventing camera clipping. (Requires: three.js)

Technologies:
HTML CSS/SCSS JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 33+ Edge Edge 12+ Firefox Firefox 27+ Safari Safari 8+
Features:
Isometric 3D Room Baked Textures Orbit Controls
License: MIT
Creepy haunted house scene demonstrating a 2.5D parallax effect with fog and dynamic lighting tracking the cursor

Halloween 2.5D Parallax Shader

This is a Halloween 2.5D Parallax Shader. It utilizes Three.js and custom GLSL shaders to transform a flat 2D image into an interactive, volumetric scene with dynamic lighting, fog, and depth distortion. Its function is to provide a deeply immersive, narrative-driven hero section, elevating static artwork into an interactive spatial environment without requiring full 3D models. (Requires: three.js)

Technologies:
HTML SCSS JavaScript
Difficulty: Advanced
Browser Support (as of May 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
Custom Shaders Depth Mapping Parallax Effect Mouse Tracking
Code by: Karim Maaloul Karim Maaloul
License: MIT

See the Pen Halloween 2.5D Parallax Shader.

3D puzzle game interface with floating neon geometric shapes, particle effects, and transparent glassmorphism UI overlays

3D WebGL Shape Matcher Game

This is a 3D WebGL Shape Matcher Game. It utilizes the Three.js library to render a fully functional, physics-driven puzzle game directly in the browser. Its function is to demonstrate complex state management, 3D raycasting, and sequential animation chaining without the overhead of a dedicated game engine like Unity. (Requires: three.js, tween.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of May 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11.1+
Features:
3D Rendering Raycasting Physics Engine State Management
License: MIT

See the Pen 3D WebGL Shape Matcher Game.

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.

3D Batmobile racing game with neon lighting, particle explosions, and a glassmorphism HUD overlay

Cinematic 3D Racing Pursuit Game

This is a Cinematic 3D Racing Pursuit Game. It renders an endless runner-style experience with high-speed lane switching, projectile combat, and dynamic obstacle generation. Its function is to demonstrate complex WebGL post-processing and real-time game loops inside the browser, transforming a static webpage into an interactive arcade environment. (Requires: three-js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Apr 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13+
Features:
3D Rendering Particle System Touch Controls Cheat Codes
Code by: John Q John Q
License: MIT
A full-screen WebGL gallery with large photographs that distort with a sine wave effect on mouse hover and a radial blur based on scroll speed.

Twisted Wave GLSL Image Gallery

This is a Twisted Wave GLSL Image Gallery. It’s a high-performance, full-screen WebGL experience that uses custom shaders to create sophisticated visual effects. Its function is to transform a standard image carousel into a cinematic journey with two distinct interactions: a localized sine-wave distortion on mouse hover and a global radial blur that intensifies with the speed of the scroll. (Requires: Three.js, GSAP, Locomotive Scroll, Maku.js, imagesLoaded)

Technologies:
HTML CSS JavaScript GLSL Three.js
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
GLSL Shaders Mouse-Hover Distortion Scroll-Based Post-Processing Locomotive Scroll
Code by: alphardex alphardex
License: MIT
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
Dark interactive canvas with vibrant neon flowers blooming and trailing along the cursor movement path

WebGL Generative Flower Cursor

This is a WebGL Generative Flower Cursor. It transforms the cursor into a botanical paintbrush, procedurally generating complex, blooming flower patterns across the screen in real-time. Its function is to provide an immersive, artistic interaction layer that allows users to “paint” generative digital gardens. (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:
Fragment Shaders Ping-Pong Buffering Generative Art Interactive Painting
License: MIT

See the Pen WebGL Generative Flower Cursor.

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.

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
Low-poly 3D endless runner game with a blocky character dodging obstacles in a neon-themed WebGL environment.

Procedural 3D Endless Runner Game

This is a Procedural 3D Endless Runner Game. It utilizes Three.js to render a dynamically generated, infinite obstacle course. Its function is to deliver a complete, lane-based gameplay loop entirely within the browser. The environment and actors are constructed procedurally, eliminating external asset dependencies and ensuring instant execution. (Requires: three.js)

Technologies:
JavaScript HTML CSS
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 89+ Edge Edge 89+ Firefox Firefox 108+ Safari Safari 16.4+
Features:
Procedural Generation Lane Movement Collision Physics Dynamic Themes
License: MIT
Dark 3D glowing spectral ghost with analog VHS scanline effects following cursor movement.

Interactive Spectral 3D Ghost Effect

This is an Interactive Spectral 3D Ghost Effect. It utilizes Three.js and custom GLSL shaders to render a dynamic, mouse-tracking entity with analog signal decay. Its function is to serve as an immersive focal point or an interactive background element. The effect effectively bridges direct user input with procedural visual storytelling. (Requires: three.js, tweakpane.js)

Technologies:
JavaScript HTML CSS
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13.1+
Features:
Cursor Tracking VHS Glitch Custom Shaders Bloom Pass
Code by: Filipz Filipz
License: MIT
Isometric view of a stylized 3D office room with soft lighting, rendered in a browser using WebGL and baked textures.

Interactive 3D Workspace Diorama

We often treat web content as flat information, devoid of spatial context. This component creates a digital sanctuary. By combining soft, pre-calculated lighting with a constrained interactive camera, we invite the user to inhabit a space, not just view it. (Requires: three.js, gltf-loader, orbit-controls)

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:
Baked Lighting Constrained Orbit GLTF Loader Performance Optimized
License: MIT
Isometric 3D diorama of a cozy room rendered with Three.js, featuring baked lighting shadows and interactive orbit controls against a beige background.

Isometric 3D Little Restaurant

Real-time rendering often demands too much power for too little soul. This component brings the warmth of a hand-crafted miniature to the browser. By leveraging baked textures, we achieve photorealistic lighting with the performance footprint of a simple image. It is not just a 3D model; it is a digital diorama that invites the user to inspect every corner with tactile orbit controls. (Requires: three.js, gltf-loader, orbit-controls)

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:
Baked Lighting GLTF Loading Orbit Controls High Performance
License: MIT

See the Pen Isometric 3D Little Restaurant.

A 3D glass heart shape floating over a photograph, refracting the image through its thick, beveled edges with realistic environmental reflections.

3D Glass Photo Lens

This 3D Glass Photo Lens creates a stunning, tactile digital object - a thick glass block that refracts user-uploaded photos. Built with Three.js, it simulates the physics of light (transmission, IOR, thickness) to produce high-fidelity glass renders directly in the browser. Users can change the lens shape (Heart, Square, Hexagon), adjust the glass tint, and even modify the environmental lighting to see how reflections dance across the beveled edges. (Requires: Three.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13.1+
Features:
Physically Based Rendering (PBR) Real-time Refraction Drag & Drop Upload Procedural Geometry
Code by: Sabo Sugi Sabo Sugi
License: MIT

See the Pen 3D Glass Photo Lens.

Dark UI showing current temperature and weather conditions overlaid on a 3D animated background with clouds and subtle parallax movement

Oculus II: Immersive 3D Weather Station

Oculus II redefines the weather dashboard by blending real-time data with a cinematic 3D environment. Unlike static weather apps, it uses Three.js to render a living scene - drifting clouds, falling rain, or twinkling stars - that reacts to the mouse cursor with a subtle parallax effect. The UI floats above this world using glassmorphism, creating a sense of depth and modernity while providing live weather metrics from the Open-Meteo API. (Requires: Three.js, GSAP, Lucide Icons)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13.1+
Features:
3D Parallax Particle System Real-time API Data Procedural Textures
Code by: Sohrab zia Sohrab zia
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.

Abstract representation of an image breaking into particles, swirling around invisible centers in a fluid motion.

WebGL Voronoi Particle Transition

This WebGL Voronoi Particle Transition is a cutting-edge visual effect that reimagines the standard image slider. Instead of manipulating DOM elements or simple textures, it converts images into a massive system of particles (one for every pixel). During transitions, these particles are subjected to a mathematical storm driven by Voronoi diagrams, creating a liquid, swirling distortion effect that feels organic and computational. (Requires: Three.js, GSAP)

Technologies:
HTML SCSS JavaScript
Difficulty: Advanced
Browser Support (as of Jan 2026):
Chrome Chrome 90+ Edge Edge 90+ Safari Safari 15+ Firefox Firefox 90+
Features:
Particle System Custom Shaders Voronoi Math Fluid Animation
Code by: LoFi LoFi
License: MIT
A stylized 3D autumn tree with glowing red and yellow leaves that fall and flutter to the ground when the mouse hovers over them

Interactive 3D Falling Leaves Shader

This Interactive 3D Falling Leaves Shader is a sophisticated WebGL demonstration built with Three.js that showcases efficient rendering of thousands of unique objects. By utilizing InstancedMesh and custom GLSL shaders, it creates a stylized autumn tree where leaves respond to wind, sway realistically, and “die” (fall off) either randomly or through user interaction via raycasting. (Requires: Three.js, ES Modules)

Technologies:
JavaScript HTML CSS
Difficulty: Advanced
Browser Support (as of Jan 2026):
Chrome Chrome 84+ Edge Edge 84+ Firefox Firefox 63+ Safari Safari 14.1+
Features:
Instanced Rendering Custom GLSL Shaders Raycasted Interaction Dynamic Matrix Updates
Code by: CeramicSoda CeramicSoda
License: MIT
An interactive 3D diorama of a cartoon-style room rendered with Three.js.

3D Room with Three.js

An interactive 3D room diorama powered by Three.js, utilizing a “baked lighting” technique where pre-rendered shadows and lights are applied via a single texture for high performance.

See the Pen 3D Room with Three.js.

An image that applies a digital glitch and RGB split effect on mouse hover.

Glitch Image Hover Effect with Shaders

A calm static image that, upon hover, jitters, splits into RGB channels in bands, and slowly zooms in, evoking a digital glitch or cyberpunk atmosphere.

An interactive image with a liquid distortion effect that reacts to mouse movement.

Image Hover Effect with Shaders

An interactive “liquid” image distortion effect powered by Three.js and custom GLSL shaders.

A stylized digital flame animation that changes its intensity and shape based on user scroll.

On-Scroll Fire (Three.js + GSAP)

A stylized, “digital” flame that evolves over time but obediently transforms (fades or flares up, changes geometry) in response to user interaction (scrolling).

A 3D low-poly planet rendered with Three.js, featuring rotating layers of a solid core, a wireframe shell, and a particle cloud.

Three.js Gradient

A Low Poly 3D planet visualization built with Three.js, featuring three rotating layers: a solid core, a wireframe shell, and a floating particle cloud.

See the Pen Three.js Gradient.