Distrikt · District
Lab
Picks from the experiments repo: WebGPU kernels, in-browser models, SVG animation, math
A hand-picked selection from the oaustegard/experiments repository. That repository publishes its own complete, unfiltered list of every experiment with a page at austegard.com/experiments; this district is the shorter list, in the site’s style, of the ones worth opening first. Experiments that grew into tools are listed in their own districts.
Order
Images as ShadersA photo as one WGSL shader of soft ellipses that paints itself in. Upload yours; AVIF wins
GPU BridgeRuns WebGPU jobs that Claude Code sessions push to a repo, on this machine's GPU
Bit-Plane Dispersion ScanExact int8 top-K search in WebGPU that reads the corpus one bit plane at a time
RefractometerSweeps WebGPU kernel settings on your GPU, checks each, keeps the fastest per adapter
Two PrismsFive-band spectral audio processor in one WGSL dispatch, with a live waterfall
Image to SVG in the browserimage-to-svg ported to the page: k-means in WGSL, edge tracing, compact SVG output
Live camera taggerPhone camera tagging on WebGPU: MobileCLIP-S0 matches each frame against 4,585 tags
Starry Night, painting itselfA traced Starry Night sketches, paints and dismantles itself: one SVG, no JavaScript
Warhol palette cycleOne traced cat drawn four times, cycling four palettes in 72 KB of SVG, no JavaScript
EG2 query encoder in hand-written WGSLA custom WebGPU engine benchmarked against onnxruntime-web on the same 25 MB encoder
EG2 training targets on WebGPUEmbeds 110,605 query-like texts with EmbeddingGemma 2 on your GPU and saves int8 shards
Navier–Stokes term by termWebGPU explainer of the four terms, Reynolds number, vortex stretching and blowup
EmbeddingGemma 2 search on WebGPUEmbeddingGemma 2 in the browser, with 2-bit codes and the corpus scan in WebGPU kernels
Delegation skill map14 agent and delegation skills compared: boundaries, a decision path, cut candidates
The Second Sky140 constellations of an invented people, drawn on the real stars by 1,843 Haiku calls
Strudel FM, before and afterThe Strudel FM lead before and after its melody rewrite, with seeded variants- Geezer GoonAnimated music video for the Wednesday-ride song, driven by the ride's Strava data
Procedural LionA cartoon lion rebuilt in three.js, with about 3,000 swept-tube hair strands
Latent Calculator explainerHow a calculator wired into SmolLM2-135M reads operands at layer 16 and writes back
A Growth Race for Erdős–GyárfásResearch note with partial results on an open problem in graph theory
Writeups
Each experiment’s directory on GitHub, with its writeup, code and data.
- Images as Shaders
- GPU Bridge
- Bit-Plane Dispersion Scan
- Refractometer
- Two Prisms
- Image to SVG in the browser
- Live camera tagger
- Starry Night, painting itself
- Warhol palette cycle
- EG2 query encoder in hand-written WGSL
- EG2 training targets on WebGPU
- Navier–Stokes term by term
- EmbeddingGemma 2 search on WebGPU
- Delegation skill map
- The Second Sky
- Strudel FM, before and after
- Geezer Goon
- Procedural Lion
- Latent Calculator explainer
- A Growth Race for Erdős–Gyárfás