Surfaces & materialsGPU meadow grass
Hundreds of thousands of curved blades decided on the GPU every frame.
Every demo runs live on its page. Filter by kind, by what your users’ browsers have, or by how much of the frame you can spare.
187 parts
Surfaces & materialsHundreds of thousands of curved blades decided on the GPU every frame.
SimulationFlags, banners, tarps, curtains and nets in one compute pass and one draw.
Screen effectsAir that bends what is behind it: shimmering heat over fires and blasts, and sonic shockwaves (rings, shells and a flying core) animated on the GPU from their…
UI & interactionMagnetic buttons, springy flip cards, tilt with sheen, rolling and split-flap numbers, fling-to-dismiss, toasts, toasts that hang on a string and swing to…
Surfaces & materialsLiquid metal under every card: pools that fuse as cards come close, beads and a living ripple, Rosensweig spikes rising toward the pointer, iron filings and…
SimulationThe wave equation as compute on a ring of cells that follows the camera, a smooth Catmull-Rom read, an absorbing edge and a coarse second field for long wakes…
SimulationA box of air over burning ground stepped on the GPU every frame (advection, buoyancy, curl, a pressure solve) and drawn by marching each pixel’s ray through it.
ParticlesCreatures made of living lines: hundreds of Verlet strands pulled into a form, wound round its limbs, squirming, sagging and flinching from hits, two compute…
TechniquesShaders and pipelines built ahead, never on the frame that first draws something.
TechniquesGlobal values (time, wind, sun, fog) in three’s frame group instead of every object’s: checked once a render instead of once per drawn object and pass.
Canvas & 2D
Canvas & 2DCrisp text at 2% or 6400%: glyphs rasterised on first use with Canvas 2D, turned into signed distance fields by an exact distance transform, packed into one…
Surfaces & materials
UI & interactionGlass slabs over live water, drawn by WebGPU (or its WebGL2 twin) behind ordinary DOM.
UI & interactionScenes as plain data ("move these channels to these values over this long, with this ease"), any moment worked out on demand with no state, and the editor that…
Systems & tooling
Data & layout
UI & interactionOne accessible context-menu core (roles, arrow keys, type-ahead, letter keys, Esc, focus kept and given back, stays on screen, right-click, long-press and…
Systems & toolingEvery GPU byte counted where WebGPU makes it, by kind and owner, held against asked.
Systems & toolingA way round walls and props from one blocked(x, z) question.
Canvas & 2D
Data & layoutOrthogonal connectors routed round every box by A* over a sparse grid, with a bend cost and a tie-break that keeps elbow corners from flipping as things move…
Systems & toolingAn undo/redo history whose steps carry a few words, so the buttons say “Undo Move ‘Dune’”; one drag or one typing session is one step, and so is a drag of a…
UI & interactionA safe button for actions that cost something: it acts only after being held.
UI & interactionText as single-stroke glyph paths that can be drawn, traced and animated.
UI & interactionSound-effect words that pop with squash and stretch over an inked starburst, speech, thought and shout balloons whose tails keep pointing at their target as it…
Systems & toolingHolds a frame budget by choosing the render scale once a second from the GPU’s own frame times (WebGPU timestamp queries).
Data & layoutInstrument gauges in SVG (a tach with a red line on a nice scale, a speedometer with a best mark, a fuel gauge and an LED ring) whose needles chase their…
Data & layout
ParticlesA general compute-particle core: emitters as plain data, noise turbulence, buoyancy and vortex forces, particles that bounce, slide or stick on floors and…
ParticlesEvery drop and flake placed by its index alone, so the CPU only writes a few uniforms (about 0.01 ms a frame).
SimulationIce crystals that grow over a word, a logo or any shape.
SimulationAn aurora worked out as physics on WebGPU, seen from a frozen fjord.
SimulationAn open sea from a wind-wave spectrum (Tessendorf), summed back to heights, choppy sideways push and folds by a Stockham FFT on the GPU every frame, into…
TechniquesA sky worked out from the air itself on WebGPU (the same passes on WebGL2 where it is missing).
Simulation
Surfaces & materialsLaser engraving inside a block of glass: any word or mask becomes a cloud of tiny fractures, written by the laser layer by layer from the bottom up, seen…
ParticlesShells launched by kind and colour to burst where you point.
Surfaces & materialsThe rainbow sheen of a soap bubble, oil on water, a silicon wafer, an optical disc and a beetle’s shell, worked out across the spectrum.
ParticlesCold mist from a quarter of a million GPU particles.
Screen effectsA post chain for any HDR picture on WebGPU (and a WebGL2 twin of it).
Screen effects
UI & interactionDrag a card and throw it at a tray, a folder or a bin to act on it: it lands when let go near one, or when thrown fast enough and on aim; otherwise it springs back.
UI & interactionTwelve interface sounds made live with the Web Audio API, no audio files.
UI & interaction
TechniquesWebGPU drawing (WebGL2 where it is missing) that stays locked to DOM panels tilted in CSS 3D.
ParticlesBirds, butterflies, fireflies, drones or darts that flock freely on the GPU, then each fly to their own point of a word or a shape, hold it and let go again.
UI & interactionOne small dialog core that does the whole job: a modal, side and bottom sheets you can drag away, and awaitable confirm() and prompt().
UI & interaction
Data & layoutA real <table> that holds up with 100,000 rows.
UI & interactionA small appearance system: colour presets as CSS variables (light, dark, two high-contrast, two accent looks), a “Match system” choice that follows the…
UI & interactionOne registry for every shortcut in an app.
UI & interactionReorder a list, move cards between the columns of a board, or rearrange a grid.
UI & interactionForm fields that behave: a draft kept apart from the store (typing never fights a re-render, Esc puts it back, an emptied name comes back), messages tied to…
Data & layoutPuts an editor, popover or inspector beside the item it edits, never on top of it.
UI & interactionThree small cores that get the details right.
UI & interactionThe states every view needs, done calmly: a tiny state machine (idle → loading → slow → ready | empty | error) with a grace delay so fast loads never flash a…
Systems & toolingReads 64 MB+ CSV and .xlsx files in the browser a piece at a time.
Systems & toolingComment threads pinned to items or to spots, with replies, @mentions (the longest name wins), edit, resolve and reopen; task cards with a status, an assignee…
Systems & toolingA copy of a document kept by itself a few minutes into each stretch of changes, and named copies on demand; thinned as they age (every copy for two hours…
Data & layout
Data & layoutBars and lines drawn as physical things in one instanced draw each.
Data & layoutFifteen chart types as plain functions that return SVG, each with its numbers as a table and words for every mark.
UI & interactionPlays a deck of HTML slides the way PowerPoint presents.
Screen effectsFog that fills the low ground and glows round the lights in it, in one full-screen pass over any scene with a depth buffer (WebGPU, or WebGL2 where it is missing).
UI & interactionCrisp HTML labels that follow points in a 3D scene.
SimulationA stable-fluids simulation in WebGPU compute, nothing read back, with the page’s own panels as obstacles the paint flows round and a moving panel pushing it aside.
Surfaces & materials
UI & interactionA date (and optional time) picker as an inline calendar or a popover from a text field, which becomes a bottom sheet on a phone.
UI & interactionA colour picker that does not drift: a saturation × brightness plane or an OKLCH lightness × chroma plane with the edge of sRGB drawn on it, hue and opacity…
UI & interactionThe layout of every editor, from a JSON tree you can save and restore.
UI & interaction
UI & interactionA drop zone with a real button, folders walked, paste from the clipboard, and checks by type, size, count and duplicates (by content.
UI & interaction
TechniquesCinematic camera moves between stations in a 3D world, with shots as data.
Systems & toolingRuns a live presentation from a cue list: go, back, jump, hold, calm and black, with builds inside a cue, from any clicker, the keyboard or the console.
Systems & tooling
TechniquesPre-recorded video inside a WebGPU scene and in the page, stage-grade.
TechniquesGLB models ready for a stage: gated before loading (header, size and count budgets, allowed extensions, nothing outside the file, each refusal with a plain…
Systems & tooling
Systems & toolingThe room votes on their phones and the stage shows a live tally (bars or a ring) and an awards-style reveal: nominee cards, a drum roll, the winner, ties handled.
ParticlesA title moment for a stage or a launch: the camera races in at lightspeed behind falling lights, the stars streaking past, brakes hard into their trails and…
Surfaces & materials
Surfaces & materialsLight racing through glass fibres: a laser lights a bundle’s polished face, the light’s front runs down thousands of fibres, out through a network of glass…
ParticlesA field of characters wakes: every glyph lifts off its cell, rises on a curl flow into a few rivers of light, runs along them and pours into a word, where one…
SimulationA broadleaf tree, a spruce and a flowering bush grown on the GPU.
SimulationA dark exhibition of six WebGPU compute techniques, each a reusable module on its own plinth.
UI & interactionA staged bay for any glTF vehicle whose parts are named nodes.
Data & layoutA cross-filtered dashboard where every record is one mark on one WebGPU canvas, up to a million of them.
Data & layoutOne zoomable sheet of rows × days, from three years of a whole organisation down to the records of one hour, where every pixel shows the true total of what it covers.
UI & interactionEight patterns that run with no script, each one CSS file and the markup it reads.
Data & layoutThe world drawn with one primitive, the anti-aliased dot.
SimulationA real-time lattice Boltzmann (D2Q9) flow in WebGPU compute around solids you describe as plain shapes.
Systems & toolingNarration from a script with no cloud: lines with pauses and tone marks, a pronunciation list and {values}, parsed into pieces that keep their place in the…
Data & layoutHand it any table, pasted cells or a CSV, and it reads what each column holds (dates, money, percentages, durations, categories, IDs, free text, yes or no…
Systems & toolingA phone on the same Wi-Fi steps a presentation, with no cloud and no app: scan a QR code, type a six-digit code, and Next and Back go to the presenting machine.
Screen effectsVolumetric air after the scene, for three.js WebGPU in TSL.
UI & interactionMove, resize, hide, line up and spread the parts of any live HTML page, like shapes on a slide: smart guides and equal gaps, several at once, the keyboard too, and undo.
UI & interactionAn element dissolves, or assembles, cell by cell: a CSS Paint Worklet masks it, WAAPI drives a registered property, and the calls return promises.
Systems & tooling
Techniques
UI & interactionSwipe a list row, as on a phone: a short swipe shows its buttons, a long one runs the outer action (delete), a quick flick opens and a flick back closes.
Systems & tooling
Techniques
Systems & toolingMany small WebGPU widgets on one page share one device, one command encoder and one submit a frame.
Systems & toolingFinds z-fighting before anyone sees it flicker.
UI & interactionClick an object to pick it, then move, turn or size it with the gizmo or the Blender way.
Any stroke icon (or filled one) as a solid you can light and turn.
Techniques
Data & layoutDecides, for every value read from a document or a form, whether it can be written or a person must look, and says why in plain English.
UI & interactionWhere everything a person must look at waits, with the reason in plain words and what can be done.
SimulationFour legs that walk, trot and run without a single animation clip.
Canvas & 2DFive brush tips as pure functions of a point: a soft circle, a square that turns, a ragged edge that tears, a mottled cloud and a speckle of spots.
TechniquesGround in square chunks that stream round the viewer, from a game’s own world.
Data & layoutThe small smarts that make a shared shopping or packing list feel like it knows you, as pure, tested functions.
SimulationCharts made of falling sand: page elements become glasses that fill with real grains to each value, the brim at the plan and the surplus heaped over it, in…
SimulationSpectral 2D light transport in WebGPU compute.
Screen effectsElements on the page are masses that bend a procedural deep sky behind them.
Surfaces & materialsA WebGPU compute path tracer for rooms and buildings made of boxes and ellipsoids, lit by the real sun for any day, hour and latitude, a sky and lamps.
Surfaces & materialsA Gray–Scott reaction–diffusion culture under a page, in raw WebGPU, steered by the DOM.
TechniquesA shift-lens camera for a three.js canvas behind the DOM.
SimulationAn industrial robot arm that moves like tonnes of servo-driven steel.
SimulationA tree grown by rule from a seed (Weber and Penn.
SimulationA 3D printer’s slicer and motion planner, with the print drawn as it is laid.
UI & interactionCards that feel like things: each sits on damped springs for its place, turn, squash, paper flutter and lift.
Screen effectsA CRT phosphor terminal drawn round live DOM text: the text stays real, selectable and read aloud, and the tube is laid over it.
Data & layoutNumbers that keep their units through every step.
Data & layoutA site plan drawn from plain data in the conventions of an architect’s drawing.
SimulationA planet to put a story on: land and sea from Natural Earth, the sun rising over the edge through an atmosphere, its glint on the water, city lights on the…
Canvas & 2D
Data & layoutWrites the files an app hands people, in plain TypeScript.
UI & interaction
Systems & toolingA test that fails when any function in an app is more than two clicks away and has no Ctrl K command.
UI & interactionAn inspector built from a description of the settings.
Systems & toolingA gate an app copies, with no packages: one Node script opens the app in headless Chrome on a fresh profile at an exact viewport and fails the run when a budget breaks.
Systems & tooling
Surfaces & materialsFur on the page’s own panels, in raw WebGPU (a WebGL2 twin draws the same fur where WebGPU is missing).
UI & interactionA page’s panels drawn as living cells, in raw WebGPU (WebGL2 where it is missing).
ParticlesLiquid as GPU particles that merge like metaballs, in raw WebGPU.
ParticlesFive effects that each live in a fixed ring of instance slots and never allocate in play.
Screen effectsAmbient occlusion (GTAO from the frame’s own depth), bloom that only takes light brighter than lit white, specular anti-aliasing in every lit material and a…
Surfaces & materialsLight that comes in through a window, lands on the floor and bounces round the room, worked out on the GPU in a few frames instead of the half a minute…
Techniques
TechniquesPicking and line of sight that stay cheap when the scene is big.
Surfaces & materialsSoft shade drifting over the land with the wind, on everything the sun lights.
Surfaces & materialsPaint that wears through on edges and corners, dirt and rust that gather in crevices, and grime the world leaves.
Simulation
SimulationA pushed body that decides, the same way every time, whether it catches itself.
SimulationGetting over and up things with no animation clips and no jump.
SimulationRoads as plain data (nodes, edges drawn through bends and rounded to arcs, a type on each) laid out into junctions with kerb returns and setbacks, then…
SimulationThe trail people would wear between two places, worked out from the land.
SimulationA wildfire run as pure, seeded rules a server can run as they are: 8 m blocks of grass, scrub and woods over a 1 m raster of roads and water, stepped a minute at a time.
SimulationFour small, pure models of how things move, each stepped with plain ground functions and no physics engine.
Data & layoutMap where each value sits on a PDF or a scan with a text layer, from nothing but its words and their boxes.
Draw with ordinary Canvas 2D calls (circles, gradients, paths) at a low resolution, and get true pixel art.
UI & interactionOn a screen change the old panels unbolt, unlatch and leave, and the new ones slide or swing in on their rails, hit a hard stop, ring back, latch and bolt…
UI & interaction
SimulationA whole planet from one number: a seed picks the kind (temperate, ocean, desert, ice, lava, gas giant or barren moon), its palette, its axis, and how much sea…
Surfaces & materialsA slab of clay on a linen board that keeps every touch.
UI & interactionWoven, knitted and embroidered borders for any element: mark it `data-textile="twill"` and its own border becomes cloth, drawn thread by thread on the GPU.
SimulationA car as a rigid body in 3D on four raycast springs, stepped at a fixed 120 Hz with no physics engine.
SimulationLegged machines that walk from code: a radial walker on any number of legs and a two-legged strider on reverse-jointed legs.
SimulationWalls that take ragged holes, buildings that come down, and rubble that stays.
TechniquesCrash dents on car bodies, barrels, panels and props, drawn by the GPU from one small table of objects × dent slots.
SimulationOne adapter that poses any humanoid skeleton, and a walk with no clips to drive it.
Data & layoutA treemap made of soap foam, where every bubble’s area is exactly its share.
Surfaces & materialsThe whole page becomes one slab of polished stone behind ordinary DOM.
Data & layoutA Monte Carlo burndown drawn as land and water.
UI & interactionReal, selectable DOM text riding a cloth simulated on the GPU.
UI & interactionA passage hidden under a material until the reader reaches it.
UI & interactionOne event, felt everywhere: impact({ x, y, mass }) makes every [data-body] element dip, rock and ring down on its shock mounts by its distance and its own…
TechniquesEvery plain opaque mesh in a scene is drawn through shared InstancedMeshes, one per geometry, material and shadow flags, with no change to the code that builds the scene.
SimulationThousands of oscillators that pull each other into step, simulated in compute and drawn from the same buffers.
Data & layout
Data & layoutA classifier's scores drawn as a particle beam.
SimulationOne shared touch field that anything moving presses (walkers, a cart, a boat, the pointer), and responders that read it in their vertex stage.
SimulationPlants that catch, burn and leave something behind, one at a time by a stable key.
Data & layoutA pure, tested scheduling core for a team spread over offices and time zones.
TechniquesA contract that lets one simulation wear any number of looks.
UI & interactionOne distance-field atlas holds a thin and a black cut of a typeface in its red and green channels, every glyph in the same fixed cell, so mixing the channels…
UI & interactionType what you want in plain words (“move the budget check to after the analyst is back”, “book 45 minutes with the designer next week, not Friday”) and a small…
UI & interaction
UI & interaction
Canvas & 2D
UI & interactionA day or a shift as rows of spans under an hour axis, a line for now, and a handle you drag along the day (or move with the keys) to look at another moment.
UI & interaction
Data & layoutA row of figure tiles that lines up: each a label, a value at the one size every value in the row shares, a detail line with the change (arrow, figure, period)…