Three.js Tools and Interaction Examples

These demos are working tools built with three.js, and the interaction patterns behind them. They include a drag-and-drop glTF/GLB model viewer, transform gizmos with snapping and undo, raycast picking accelerated with a BVH, and measurement tools for distance, angle and area.

You will also find interface techniques such as CSS3D and CSS2D panels that sit inside a 3D scene, a drag-and-drop scene builder, a node-based material editor, and inspectors for texture compression, UV layouts and sprite sheets. They are good references for building editors and configurators.

Most viewed in tools & interaction

All tools & interaction demos

10 Demos
Three.js glTF / GLB Model Viewer (Drag & Drop Inspector) preview
Explore Demo →

Three.js glTF / GLB Model Viewer (Drag & Drop Inspector)

Drag-and-drop glTF/GLB viewer in Three.js with scene-graph, mesh, triangle, material and animation stats, wireframe, bounding-box and normals helpers, room-environment lighting, and an exported-then-reimported sample model.

tools
Three.js Texture Compression Inspector (BC1 / KTX2 Formats) preview
Explore Demo →

Three.js Texture Compression Inspector (BC1 / KTX2 Formats)

GPU texture compression explained in Three.js with a real-time JavaScript BC1/DXT1 encoder, CompressedTexture upload with mipmaps, RGB565 and error-heatmap views, PSNR and memory stats, filtering modes and detection of the formats a KTX2 file would transcode to.

tools
Three.js Sprite Sheet Animator (Flipbook Billboards) preview
Explore Demo →

Three.js Sprite Sheet Animator (Flipbook Billboards)

Flipbook sprite animation in Three.js from a packed 8×3 sprite sheet (coin spin, explosion, walk cycle) on hundreds of instanced camera-facing billboards, with per-instance phase, frame blending and a live atlas preview.

tools
Three.js Transform Gizmos (TransformControls with Snapping & Undo) preview
Explore Demo →

Three.js Transform Gizmos (TransformControls with Snapping & Undo)

Interactive translate, rotate and scale gizmos in Three.js with TransformControls, including click selection, world/local space, configurable snapping, W/E/R/Q keyboard shortcuts, frame-selection and an undo stack.

tools
Three.js Raycast Picking Modes (BVH vs Brute Force) preview
Explore Demo →

Three.js Raycast Picking Modes (BVH vs Brute Force)

Compare raycast picking strategies in Three.js on a 480k-triangle mesh (three-mesh-bvh BVH acceleration, brute-force triangle tests and coarse bounding-box picks) with live timing, hit-triangle highlight and BVH visualization.

tools
Three.js Measurement Tool (Distance, Angle, Area, Snapping) preview
Explore Demo →

Three.js Measurement Tool (Distance, Angle, Area, Snapping)

Interactive 3D measuring in Three.js covering point-to-point distance, three-point angles, polygon area and height above the floor, with vertex and grid snapping, unit conversion and CSS2D labels in a furnished room.

tools
Three.js 3D UI Panels (CSS3DRenderer & CSS2DRenderer) preview
Explore Demo →

Three.js 3D UI Panels (CSS3DRenderer & CSS2DRenderer)

HTML interfaces in Three.js scenes, with interactive world-locked CSS3D control panels whose buttons drive the WebGL scene, screen-aligned CSS2D name tags with occlusion fading, and a fixed DOM HUD for comparison.

tools
Three.js Drag & Drop Scene Builder preview
Explore Demo →

Three.js Drag & Drop Scene Builder

Build a scene in Three.js by dragging assets from an HTML palette onto the ground, with a live ghost preview, grid snapping, drag-to-move, 45° rotation and delete shortcuts, shadows and placement stats.

tools
Three.js Node-Based Material Editor (Shader Graph) preview
Explore Demo →

Three.js Node-Based Material Editor (Shader Graph)

A working node-graph material editor in Three.js where you drag nodes, wire outputs to inputs and see the graph compiled to GLSL and applied live, with UV, position, noise, stripes, fresnel, math nodes and presets.

tools
Three.js UV Layout Previewer & Distortion Heatmap preview
Explore Demo →

Three.js UV Layout Previewer & Distortion Heatmap

Inspect a mesh's UV layout in Three.js with a live 2D UV panel, a labelled checker texture, a per-triangle stretch heatmap and planar, cylindrical and spherical projections, plus hover highlighting linked between mesh and UV space.

tools