New Demos Added Monthly

Master Three.js and WebGL

Explore a comprehensive collection of production-ready Three.js examples. From basic geometry to advanced physics and custom shaders, everything you need to build the modern web is here.

Basics

Explore 15 basics examples and code samples.

Rotating Cube in Three.js (Beginner Demo) preview
Explore Demo →

Rotating Cube in Three.js (Beginner Demo)

Beginner-friendly Three.js rotating cube example that teaches the core Scene, PerspectiveCamera, WebGLRenderer, mesh setup, and real-time animation loop used in most WebGL apps.

basics
Three.js Timer vs Clock Delta Demo (r183) preview
Explore Demo →

Three.js Timer vs Clock Delta Demo (r183)

Side-by-side demo showing why r183 recommends `THREE.Timer` for frame-delta reads, especially when multiple systems request timing in the same animation frame.

basics
Three.js Sphere Texture Mapping Demo preview
Explore Demo →

Three.js Sphere Texture Mapping Demo

Detailed Three.js sphere texture mapping demo using UV coordinates and procedural CanvasTexture generation. Shows texture wrapping modes, anisotropic filtering, and realistic material response on curved geometry.

basics
Three.js Wireframe Toggle (Torus Demo) preview
Explore Demo →

Three.js Wireframe Toggle (Torus Demo)

Interactive Three.js wireframe demo showing how to toggle `material.wireframe` on a torus mesh via keyboard and GUI controls to inspect topology and triangle flow.

basics
Three.js Torus Knot Geometry Demo preview
Explore Demo →

Three.js Torus Knot Geometry Demo

Interactive torus knot geometry demo showcasing Three.js TorusKnotGeometry with parametric generation, animation, and standard PBR material shading.

basics
Ambient vs Directional Light in Three.js preview
Explore Demo →

Ambient vs Directional Light in Three.js

Three.js lighting fundamentals demo comparing ambient fill light and directional key light on a shaded sphere to show contrast, shadow depth, and readable form.

basics
Three.js GridHelper + AxesHelper Demo preview
Explore Demo →

Three.js GridHelper + AxesHelper Demo

Three.js scene debugging demo using GridHelper and AxesHelper to visualize world orientation, unit scale, and object alignment while orbiting the camera.

basics
3D Point Cloud Visualization in Three.js preview
Explore Demo →

3D Point Cloud Visualization in Three.js

High-performance JavaScript 3D point cloud visualization built with Three.js BufferGeometry and PointsMaterial, demonstrating GPU-efficient rendering, per-vertex color, and interactive camera navigation.

basics
Orbit Controls + Axes Helper (Three.js) preview
Explore Demo →

Orbit Controls + Axes Helper (Three.js)

Learn OrbitControls camera interaction with a rotating cube and AxesHelper reference, including pan, zoom, and orbit behavior for intuitive Three.js scene navigation.

basics
Three.js Plane Shadows (Cast & Receive) preview
Explore Demo →

Three.js Plane Shadows (Cast & Receive)

Core Three.js shadow mapping demo showing how to enable renderer shadows, configure directional lights, and set cast/receive shadow flags on mesh objects for grounded scenes.

basics
MeshNormalMaterial Demo in Three.js preview
Explore Demo →

MeshNormalMaterial Demo in Three.js

MeshNormalMaterial debugging demo with a rotating torus knot that visualizes surface normals directly, helping diagnose topology, smoothing, and orientation issues.

basics
Three.js InstancedMesh Grid Demo preview
Explore Demo →

Three.js InstancedMesh Grid Demo

Performance-oriented Three.js instancing demo rendering hundreds of cubes in a grid using InstancedMesh and per-instance transforms for low draw-call overhead.

basics
Three.js Box Wireframe Geometry Demo preview
Explore Demo →

Three.js Box Wireframe Geometry Demo

Minimal wireframe cube example using MeshBasicMaterial to visualize triangle edges, geometry structure, and unlit rendering behavior in Three.js.

basics
Three.js Materials Comparison Gallery preview
Explore Demo →

Three.js Materials Comparison Gallery

Side-by-side Three.js materials comparison across MeshBasicMaterial, MeshLambertMaterial, MeshPhongMaterial, and MeshStandardMaterial under shared lighting.

basics
Three.js Primitive Geometries Showcase preview
Explore Demo →

Three.js Primitive Geometries Showcase

Rotating Three.js primitive geometry showcase comparing box, sphere, cone, and torus meshes under consistent lighting and material settings.

basics

Lighting

Explore 13 lighting examples and code samples.

Three.js Point Light Interactive Demo preview
Explore Demo →

Three.js Point Light Interactive Demo

Interactive three.js point light with real-time controls for position, color, and intensity. Features point light helper visualization and mouse tracking.

lighting
Directional Shadow Visualizer preview
Explore Demo →

Directional Shadow Visualizer

Inspect directional light shadow camera and map size.

lighting
Spotlight Follow Cursor preview
Explore Demo →

Spotlight Follow Cursor

Spotlight target follows the mouse; tweak angle and penumbra.

lighting
Flickering Torch preview
Explore Demo →

Flickering Torch

Noise-based point light flicker simulating a handheld torch.

lighting
Three.js Day-Night Cycle Simulation preview
Explore Demo →

Three.js Day-Night Cycle Simulation

Dynamic Three.js day-night cycle demo animating sky color, sun position, and light intensity to simulate sunrise, noon, sunset, and nighttime transitions.

lighting
Multiple Light Blending preview
Explore Demo →

Multiple Light Blending

Add/remove multiple colored lights and blend their effects.

lighting
Disco Lights preview
Explore Demo →

Disco Lights

Patterned color-cycling lights with tempo and patterns.

lighting
Volumetric Light Shafts preview
Explore Demo →

Volumetric Light Shafts

Fake god rays with additive cone; adjust density and decay.

lighting
Fog Scattering Playground (r183-inspired) preview
Explore Demo →

Fog Scattering Playground (r183-inspired)

Atmospheric spotlight demo using exponential fog and additive beam scattering to visualize how light volumetrics react to fog density and penumbra.

lighting
Volumetric Spotlight Lab (r183 roadmap) preview
Explore Demo →

Volumetric Spotlight Lab (r183 roadmap)

Dense spotlight beam demo combining real spotlight shadows with additive volumetric cone scattering and animated occluders for dynamic light shafts.

lighting
Soft Shadows in Three.js preview
Explore Demo →

Soft Shadows in Three.js

Advanced three.js soft shadow techniques with PCF shadow mapping, dynamic shadow softness control, and real-time shadow quality comparison.

lighting
Neon Glow Text preview
Explore Demo →

Neon Glow Text

Emissive neon-style text with adjustable glow intensity.

lighting
Depth of Field Gallery preview
Explore Demo →

Depth of Field Gallery

Post-processing depth of field effect with objects at varying distances.

lighting

Camera Controls

Explore 5 camera controls examples and code samples.

Animation

Explore 1 animation examples and code samples.

Particle Systems

Explore 3 particle systems examples and code samples.

Physics Simulation

Explore 2 physics simulation examples and code samples.

Materials & Textures

Explore 6 materials & textures examples and code samples.

Performance

Explore 2 performance examples and code samples.

Rendering

Explore 3 rendering examples and code samples.

Geometry

Explore 1 geometry examples and code samples.

Retro / Demoscene

Explore 1 retro / demoscene examples and code samples.

Procedural Generation

Explore 6 procedural generation examples and code samples.

Post-Processing

Explore 11 post-processing examples and code samples.

Bloom Glow preview
Explore Demo →

Bloom Glow

HDR bloom post-processing effect with threshold and intensity controls.

postfx
Motion Blur preview
Explore Demo →

Motion Blur

Velocity-based blur trails created by blending current and previous frames with custom shader.

postfx
Depth of Field Focus preview
Explore Demo →

Depth of Field Focus

Bokeh depth of field pass with smooth auto-focus and click-to-focus controls across layered geometry.

postfx
Glitch VFX Playground preview
Explore Demo →

Glitch VFX Playground

Neon city scene routed through DigitalGlitch shader with burst, pulse, and wild distortion modes.

postfx
Film Grain Studio preview
Explore Demo →

Film Grain Studio

Cinematic scene layered with animated film grain, scanlines, and color tint controlled through a custom shader.

postfx
Color Grading Studio preview
Explore Demo →

Color Grading Studio

Interactive slope-offset-power grading pipeline with exposure, saturation, and temperature controls.

postfx
Screen Space Reflections preview
Explore Demo →

Screen Space Reflections

Real-time reflections using render targets to create realistic water surface reflections with interactive controls.

postfx
FXAA/SMAA Antialiasing preview
Explore Demo →

FXAA/SMAA Antialiasing

Advanced antialiasing techniques (FXAA and SMAA) to reduce jagged edges in post-processing.

postfx
Chromatic Aberration preview
Explore Demo →

Chromatic Aberration

Simulate lens distortion effects where colors bleed at the edges of high-contrast objects.

postfx
Vignette & Lens Distortion preview
Explore Demo →

Vignette & Lens Distortion

Camera imperfections including dark edges (vignette) and radial lens warping.

postfx
Retro Pass Pipeline (r183-inspired) preview
Explore Demo →

Retro Pass Pipeline (r183-inspired)

CRT-style post-processing chain built with `EffectComposer`, combining scanlines, barrel curvature, chromatic separation, grain, and vignette.

postfx

Audio Visualization

Explore 2 audio visualization examples and code samples.

WebGL Techniques

Explore 2 webgl techniques examples and code samples.

Scientific & Educational

Explore 1 scientific & educational examples and code samples.

Data Visualization

Explore 2 data visualization examples and code samples.

Games & Interactive

Explore 16 games & interactive examples and code samples.

Pong 3D preview
Explore Demo →

Pong 3D

Classic arcade game reimagined in 3D space with realistic physics, AI opponent, and interactive controls.

games
Marble Maze preview
Explore Demo →

Marble Maze

Tilt the mahogany board to guide the silver marble through a challenging logic maze.

games
Explore Demo →

3D Tetris

Stacking blocks in three dimensions — a spatial reasoning puzzle in a glass container.

games
Explore Demo →

Breakout 3D

Smash a wall of colorful 3D bricks with a bouncing ball and a sliding paddle.

games
Explore Demo →

Snake 3D

Slither through a neon 3D grid, consuming energy cubes to grow while avoiding the walls and your own tail.

games
Explore Demo →

Pac-Man 3D

Navigate a 3D neon maze, collect pellets, and avoid the ghosts in this spatial reimagining of the classic.

games
Explore Demo →

Missile Command 3D

Defend the metropolis from a barrage of incoming ballistic missiles using interceptor rockets and tactical explosions.

games
Explore Demo →

Target Gallery

Test your reflexes in this 3D shooting gallery. Click on rapidly moving targets and clear the field before time runs out.

games
Explore Demo →

Stacking Challenge

How high can you go? Stack sliding blocks with pixel-perfect precision. Any overhang is sliced off!

games
Explore Demo →

3D Bowling

Realistic physics-based bowling. Aim your throw, add some spin, and try for a strike!

games
Explore Demo →

Space Invaders 3D

A voxel-based orbital shooter. Defend your sector from descending grids of alien invaders.

games
Explore Demo →

Minesweeper 3D

The classic logic puzzle, reimagined as a 3D block. Reveal all safe tiles without hitting a mine!

games
Explore Demo →

Tower Defense

Strategic defense game. Place automated turrets along a path to stop waves of incoming enemies.

games
Explore Demo →

Asteroids 3D

Classic space shooter in 3D. Pilot your ship through a field of drifting asteroids and clear the sector.

games
Explore Demo →

Rubik's Cube

A fully interactive and solvable 3D Rubik's Cube puzzle.

games
Explore Demo →

Chess 3D

A beautiful 3D chess board for interactive play. Grab and move pieces across the board.

games