Surfaces & materialsNewGlass engraving
Laser 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…

A site’s admin designs living backdrops and schedules them.
A site’s admin designs living backdrops and schedules them: Christmas snow through December, shamrocks on St Patrick’s Day, an evening mood after seven, a launch theme for one week, Easter and Midsummer worked out for every year. A theme is one JSON recipe: a stack of layers (colour fields and mesh gradients, flowing noise in seven styles, aurora, light rays, glows, suns and caustics, particles in eleven shapes from snow to hearts, patterns, effects shaped by the page’s own heading, an image or video) with masks, blends, motion and pointer and scroll answers, a finish (grain, vignette, bloom, a grade, a distortion from bend and twirl to kaleidoscope, and a look from halftone and dither to duotone, glitch and CRT), and the site’s colour tokens for light and dark, so the whole site changes with it. Readability is guaranteed: on save the backdrop is drawn at a dozen moments in both schemes and every text, link, accent and focus colour measured where the content sits; a theme that fails AA is refused with the nearest fixes, and on the page the backdrop calms itself under the text, in the shader, only while it needs to. Visitors get WebGPU, then WebGL2 drawn lighter, then the still saved with the theme, then a CSS gradient, chosen by device; it shows the still at once and fades to the live scene, rests off screen, holds one frame under reduced motion and keeps to about half a millisecond a frame on a laptop. The studio has 23 presets, a Simple mode and an Advanced one, undo that names each step, before and after, a performance meter per device tier with one-click recommendations, and a year timeline with “preview as of”. No three.js and no dependencies.
Measured 28 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 158, 1920×1080 at 1×. 600 frames × 3 rounds, median kept (rounds ranged GPU 3.46–3.73, CPU <0.01–<0.01 ms). What ran: First snow alone at 1920×1080, as a visitor’s page sees it: four layers (a gradient, mist, a glow, snow in three depths) drawn at 0.66 of the canvas, then the finish (grain, vignette) at full size. Phones: tiers are being measured next.
| Machine | GPU ms | CPU ms | CPU p95 |
|---|---|---|---|
| RTX 4060 Laptop · 13th Gen Intel(R) Core(TM) i9-13900Hreference · measuring tool | 3.63 | <0.01 | <0.01 |
| NVIDIA GeForce RTX 4060 Laptop GPU · 13th Gen Intel(R) Core(TM) i9-13900Hmeasuring tool · 24 November 2026 | 0.69 | <0.01 | <0.01 |
Bars against one 16.7 ms frame. A browser-tab run is timed in a visible tab without the tool’s scripted input, so read it as close, not exact.
Frames run on a 60 Hz timer (a page demo), so most frames take about one tick, 16.7 ms: the spread around it is what matters.
install("theme-studio")Your coding agent reads its pitfalls and installs it through the library’s MCP server. Set it upWritten for the library. Fully custom code.
Hannes Andersson: Feature Library studio, runtime and presets.
Mark Jarzynski and Marc Olano: The PCG integer hash the noise and particles are seeded with (“Hash Functions for GPU Rendering”, JCGT 2020), written out from the paper.
Pedro Felzenszwalb and Daniel Huttenlocher: The distance transform behind the heading’s field (hero-family’s field.ts, copied).
Björn Ottosson: OKLab and OKLCH, through the colour picker’s colour.ts.