Posts are ordinary Markdown. Hugo’s render hooks restyle the plain elements (code, quotes, images,
tables, headings), and a handful of shortcodes add the report components: findings, severity badges,
attack chains, diagrams. Everything on this page is generated from the Markdown in
content/posts/component-guide/index.md.
Front matter
title: "Two paths to domain admin"
highlight: "domain admin" # one phrase of the title gets the highlighter
date: 2026-11-20
tags: ["ad", "kerberos"]
label: "write-up" # mono label above the title (default: write-up)
description: "One or two sentences: the lead under the title and the summary in lists."
ascii: "topo" # hero texture (see "Textures" below), or off
asciiGradient: "aurora" # optional colour gradient (see "Colour gradients")
asciiGradientMode: "diagonal" # intensity (default) · x · y · diagonal · radial · spin
asciiDither: "bayer4" # optional dithering (see "Dither and motion"): bayer2 · bayer4 · bayer8 · blue · white
asciiLevels: 3 # dither steps, 2 (1-bit) to 8
asciiMotion: "trail" # optional: trail (afterimages) · heat (only motion, as a heatmap)
asciiBand: "hex" # the closing band under the post (asciiBandGradient to colour it differently)
severity: "high" # optional badge in post lists (advisories)
tlp: "TLP:CLEAR" # optional: a pill in the hero and the PDF running header
meta: # extra rows in the hero's facts grid, in order
- key: target
value: "`dc01.corp.example.test`"
variant: "docs" # docs (default for posts) · brief · compact · landing
rails: "both" # none · toc · map · bothText and emphasis
Body text is Inter; bold is darker, italic is italic, inline code gets a key-cap box, and
a highlighted phrase uses the same highlighter as the headings. Use it to flag a literal value the
reader must notice, not for emphasis. Struck-through text marks a corrected guess.
Links look like this one, and internal links such as the archive
are rewritten so they keep working under a GitHub Pages project subpath.
Mono labels are for metadata:
- client
- Example Ltd.
- window
- 03–14 Nov 2026
- version
- 1.0 · final
- target
app.example.test
==highlighted== · ~~struck~~ · `code` · [link](/posts/)
{{< kv >}}
client: Example Ltd.
target: `app.example.test`
{{< /kv >}}Headings get anchors
Hover a heading to reveal its # link. h2 and h3 headings also appear in the contents rail on the
left, with findings nested under the section they belong to.
Code
Fenced code is highlighted with Chroma and colored by the active scheme. A language alone gives the
head bar its name; {title="…"} adds a title, hl_lines highlights lines, and diff shows changes.
func GetItem(w http.ResponseWriter, r *http.Request) {
id := chi.URLParam(r, "id")
user := auth.User(r.Context())
// BUG: no ownership check before the lookup
item, err := store.Item(r.Context(), id)
if err != nil {
http.Error(w, "not found", http.StatusNotFound)
return
}
json.NewEncoder(w).Encode(item) // user.ID never compared to item.OwnerID
_ = user
}- item, err := store.Item(r.Context(), id)
+ item, err := store.ItemOwnedBy(r.Context(), id, user.ID)
$ curl -s https://api.example.test/v1/items/1042 -H "Authorization: Bearer eyJhbGciOi…[redacted]"
{"id":1042,"owner":"tenant-b","name":"invoice.pdf"}a fence without a language stays a plain blockRequests and responses sit side by side with codepair:
GET /v1/items/1042 HTTP/1.1
Host: api.example.test
Authorization: Bearer eyJhbGciOi…[redacted]HTTP/1.1 200 OK
Content-Type: application/json
{"id": 1042, "owner": "tenant-b"}Callouts
GitHub-style alerts turn into the theme’s hatched callouts, so the Markdown stays portable:
Note
A plain note. [!TIP] is green, [!IMPORTANT] teal, [!WARNING] amber, [!CAUTION] red.
Live credentials
Never paste real tokens. Redact them like AKIA…[redacted].
Shortcode form
The callout shortcode draws the same box with any kind (note warn danger ok idea) and a free title.
> [!WARNING] Optional custom title
> Alert text.
{{< callout kind="idea" title="Shortcode form" >}} Markdown body {{< /callout >}}A regular quote stays a quote, with a strong rule on its left.
Findings
A finding is a card with an id, severity, status, a facts row and a Markdown body. The contents rail lists it with a severity dot, and the totals below are counted from the findings on the page, so they always match.
Any tenant can read any item through /v1/items/{id}
- cvss 3.1
- 7.5
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - cwe
- CWE-639
- asset
GET /v1/items/{id}- owner
- API team
Description
The handler looks items up by id only; the caller’s tenant is never compared with the item owner.
Reproduction
- Sign up for a free account and note any item id of your own.
- Request a neighbouring id:
GET /v1/items/1042. - The response contains another tenant’s item.
Recommendation
Scope every lookup by owner (store.ItemOwnedBy) and add a regression test with two tenants.
Session cookie lacks SameSite
- cwe
- CWE-1275
- asset
app.example.test
The session cookie is Secure; HttpOnly but has no SameSite attribute. The fix is deployed to the
web app; the admin console still sends the old cookie.
Verbose version banner
- asset
Server: example-httpd/2.4.1
No security.txt
{{< finding id="F-01" sev="high" status="open" title="…" cvss="7.5"
vector="AV:N/…" cwe="CWE-639" asset="`GET /v1/items/{id}`" owner="API team" >}}
#### Description
…
{{< /finding >}}
{{< finding id="F-04" sev="info" title="No security.txt" />}} ← no body
{{< sevcount >}} ← totals + barInline badges: Critical High Medium Low Info and statuses open fixed partial accepted retest.
Steps, chain, timeline
- step 1Free-trial signupno verification
- step 2Enumerate item idssequential integers
- step 3Read any itemF-01
- Testing starts
- F-01 reported
Critical path shared with the client the same day.
- Report delivered
Cards, meters, tables
in scope
14hosts and two APIs
findings
4one high, none critical
texture
Cards can carry ASCII art
Full response body (collapsed; opens when printing)
{"id": 1042, "owner": "tenant-b", "name": "invoice.pdf", "size": 48213, "created": "2026-10-30T09:12:44Z"}Diagrams
Memory layouts and flow graphs are JSON specs in the post’s folder, rendered to SVG by the skill’s
deterministic renderer (tools/render-diagrams.py). They follow the color scheme and print as vectors.
The spec format is documented in the skill’s references/diagrams.md.
{{< diagram src="authz.json" caption="fig. 1 — what to look at" >}}Textures
Every page has one generative ASCII texture behind its hero, picked with ascii: in the front matter
(and asciiBand: for the band that closes a post). There are 54, in seven groups:
- Built in: the six that ship with the style.
- Shader-style presets: radar, circuit, maze, glitch, tide, plasma, tunnel, warp, stars, fire, donut.
- Scenes: a flower, a bird murmuration, a hacker terminal, the moon’s phases, a ringed planet, an orrery, a black hole, a pirate ship.
- Simulations: Voronoi walls, Bayer dither, reaction–diffusion, dye, physarum, ripples, a lava lamp.
- Images: two public-domain paintings dithered into glyphs.
- Motion studies: an optical-flow arrow field, blob tracking with boxes and links, and an orbit drawn with motion-blur copies next to a wheel showing the wagon-wheel effect.
- Pixel scenes: Maxime Heckel’s Dithered Waves, a ray-traced black hole and fifteen 3D shapes (among them a rose, a lily, a pyramid, a cyber sigil, an Erlenmeyer flask, music notes, the Android robot, a beating heart and a blood bag), rendered with WebGL and dithered to real pixels (see Pixel scenes).
They are seeded, so a page draws the same texture on every load. They hold still when printed or when the reader prefers reduced motion.
Many of them react to the pointer:
- The flock scatters from it.
- Voronoi cells swell around it, and the dither glows near it.
- It seeds reaction fronts, stirs the dye, feeds the slime mould, and makes ripples and a lava blob.
- It acts as a spotlight on the paintings.
- The flow blob follows it, the tracker boxes it as one more blob, and holding it down spins up the smeared moon.
Each card says what inspired it; every texture is written from scratch.
Built into the style
built-in
topo
contour lines drifting over a height field
built-in
field
soft noise ramp, the quiet default
built-in
hex
flickering hexdump bytes
built-in
wave
two interfering ripples
built-in
rain
falling columns of bits
built-in
dither
Bayer-dithered gradient
Shader-style presets
preset
radar
sweeping beam, range rings, blips
preset
circuit
PCB traces with travelling signals
preset
maze
the 10 PRINT labyrinth, slowly re-rolling
preset
glitch
a hexdump tearing and corrupting
preset
tide
a sea of glyphs with a breaking crest
preset
plasma
four sine fields churning, demoscene style
preset
tunnel
a twisting checker rushing at the viewer
preset
warp
domain-warped noise, marbled currents
preset
stars
a starfield flying at the viewer
preset
fire
turbulent flames rising from the base
preset
donut
the spinning torus of donut.c
Scenes
scene
orrery
planets on tilted orbits around a sun
scene
blackhole
an accretion disk swirling, its far side lensed
scene
ship
a pirate ship rocking on a glyph sea
Simulations
Images
Motion studies
Pixel scenes (WebGL)
pixel
singularity
a black hole, ray-traced, its accretion disk lensed over and under the shadow (WebGL)
pixel
sphere
a lit sphere, dithered to pixels (WebGL)
pixel
torus
a turning torus, dithered (WebGL)
pixel
knot
a 2,3 torus knot, dithered (WebGL)
pixel
icosahedron
twenty flat facets, dithered (WebGL)
pixel
rose
a rose, petals curling open from the bud, dithered (WebGL)
pixel
lily
a lily, six recurved tepals and stamens, dithered (WebGL)
pixel
pyramid
a square pyramid at the Great Pyramid's slope, flat faces, dithered (WebGL)
pixel
sigil
a cyber sigil, mirrored thorned blades round a spine and a ring, dithered (WebGL)
pixel
flask
an Erlenmeyer flask with a flared lip and graduation marks, dithered (WebGL)
pixel
note
an eighth note, a tilted head, stem and curling flag, dithered (WebGL)
pixel
notes
two eighth notes under one beam, dithered (WebGL)
pixel
android
the Android robot, domed head, antennae and white eyes, dithered (WebGL)
pixel
heart
an anatomical heart, beating, chambers squeezing in turn, dithered (WebGL)
pixel
bloodbag
a filled blood bag, its label, ports and looped line, dithered (WebGL)
To try one on any page, add ?ascii=radar to its URL or use the texture row of the Style
panel in the bottom-right corner. New posts ask for one:
docker compose run --rm new kerberos-delegation # pick from a numbered list
docker compose run --rm new kerberos-delegation radar # or name itPresets live in themes/hairline/assets/js/ascii-presets.js. A preset is a function of the cell
position and time that returns a character and its intensity. List a new one in
themes/hairline/data/textures.yaml so the front-matter check and the Style panel know it.
Animations
The animation component renders one texture on its own, as part of the post. By default it is a
framed 360px square in the middle of the column. Size it with width and height, or width and
ratio. Color it with tone.
donut, the spinning torus of donut.c, as a default boxtide across the full column, 200px tallfire in the logo red, 4:3, a little fasterAny picture can be animated the same way with src: it is dithered into glyphs, breathes, gets a
band of light crossing it, and a spotlight follows the pointer.
src="images/inverted-rose.png": a picture from assets/, dithered{{< animation pattern="donut" >}}
{{< animation pattern="tide" width="100%" height="200px" caption="fig. 4 — …" >}}
{{< animation pattern="fire" tone="brand" ratio="4/3" width="480px" speed="1.4" >}}
{{< animation src="images/inverted-rose.png" width="420px" >}}| param | default | |
|---|---|---|
pattern | tide | any texture listed above |
src | — | a jpg, png, webp or gif from the page bundle or assets/, dithered instead of a pattern |
width · height | 360px · from ratio | CSS lengths: px, %, rem, vw … |
ratio | 1 | aspect ratio when there is no height: 16/9, 4/3 |
align | center | left · right |
tone | muted | accent · brand · link · sev-high … or any --color-token |
strength · speed · seed | .85 · 1 · — | peak opacity, speed multiplier, variation |
fade | none | right left top bottom corner radial edges gutters, combinable |
frame | true | false drops the hairline box |
caption · label | — | caption under the box; it (or label) is the accessible name |
Colour gradients
Any texture can be coloured with a gradient instead of a single tone. This works for a hero, a closing band and an animation box. Use a named palette or your own colours:
- Palettes are scheme tokens: darker stops on paper, brighter on ink, greys on mono, so they stay
readable in every scheme. Besides the theme’s own (
embertoheat), there are matplotlib’s colormaps (viridis,plasma,inferno,magma,cividis,twilight,turbo,coolwarm,spectral,cubehelix) and MATLAB’s (jet,hot,cool,copper,bone), sampled from the real maps. - Your own colours: two or more CSS colours or
--tokens(gradient="--link #e8935a").
fire with gradient="ember": colour by glyph brightness, embers to flamesplasma, aurora, gradient-mode="spin": the gradient slowly turnsripples, ocean, radial from the centre{{< animation pattern="fire" gradient="ember" >}}
{{< animation pattern="plasma" gradient="aurora" gradient-mode="spin" width="100%" height="180px" >}}
{{< animation pattern="tide" gradient="#0e7490 #e8935a" gradient-mode="y" >}}
{{< ascii pattern="hex" gradient="matrix" >}}| mode | colours by |
|---|---|
intensity | glyph brightness (default) |
x · y | left to right · top to bottom |
diagonal | bottom left to top right |
radial | centre outward |
spin | a slowly turning line |
Every palette, each on one of the 3D pixel scenes. On a shape the palette runs
from the shadows to the highlights, so the perceptually uniform maps (viridis to cividis) shade
the most evenly. The gallery is dithered with bayer8 at six levels:
torus
ember
deep red to orange to amber (fire, lava)
knot
ocean
navy to teal to cyan (tide, ripples, ship)
lily
aurora
green to teal to indigo to violet (plasma, warp)
rose
sunset
violet to magenta to rose to orange (tunnel, donut)
icosahedron
matrix
dark to bright terminal green (hacking, rain, hex)
sphere
rainbow
the full spectrum
sigil
brand
the text colour to the logo red
pyramid
severity
info to low to medium to high to critical
blob
heat
navy to violet to pink to orange (the motion="heat" default)
knot
viridis
purple to blue to green to yellow (matplotlib's default, perceptually uniform)
blob
plasma
deep blue to magenta to orange to yellow (matplotlib, perceptually uniform)
heart
inferno
black to purple to red to pale yellow (matplotlib, perceptually uniform)
bloodbag
magma
black to purple to pink to cream (matplotlib, perceptually uniform)
android
cividis
navy to grey to yellow (matplotlib, readable with colour-vision deficiency)
lily
twilight
pale to blue to deep purple to red and back (matplotlib, cyclic)
sigil
turbo
dark blue through cyan, green and yellow to dark red (a smooth jet)
sphere
coolwarm
blue to light grey to red (matplotlib, diverging)
rose
spectral
red to orange to pale yellow to green to blue (matplotlib, diverging)
notes
cubehelix
black to white, the hue turning on a helix (matplotlib)
icosahedron
jet
dark blue to cyan to yellow to dark red (MATLAB's classic rainbow)
torus
hot
black to red to yellow to white (MATLAB)
pyramid
cool
cyan to magenta (MATLAB)
flask
copper
black to copper (MATLAB)
note
bone
black to blue-grey to white, an X-ray look (MATLAB)
{{< gradients >}} ← every palette, each on its own shape
{{< gradients shape="knot" dither="blue" levels="4" >}} ← all on one shapeThe shape for each palette is set in themes/hairline/data/gradients.yaml.
To preview colours on any page, use the colour and mode rows of the Style panel, or add
?gradient=ember&gradient-mode=radial to the URL.
Dither and motion
Two effects from Maxime Heckel’s The Art of Dithering and Retro Shading for the Web and Shading Motion work on any texture: a hero, a band or an animation box. They also combine with gradients.
Dither quantises each glyph’s opacity, and a gradient’s colour, to a few levels against a
threshold map. Each cell is compared with its threshold, so smooth ramps turn into an ordered pattern:
- Bayer matrices (
bayer2,bayer4,bayer8) give the classic cross-hatch. - Blue noise (
blue) is even but has no pattern. - White noise (
white) is grainy.
With levels="2" every glyph is either full or gone, a 1-bit look.
warp with dither="blue" levels="2": domain-warped noise in 1-bit blue noise, after the article’s Dithering Wavesplasma, aurora across the box, bayer4 with 4 levels: the gradient steps through four colours in a dither patternMotion compares each frame with the last one and keeps what changed in a trail that fades by
decay every frame:
trailleaves afterimages where glyphs moved away.heatdraws only the motion, as a heatmap. It uses theheatpalette unless you give a gradient.
Motion suits textures where things travel, such as murmuration, stars, orrery, ship, rain
and physarum.
murmuration with motion="heat": only where the flock moves, fadingstars with motion="trail" decay=".9": each star drags a fading streakThe motion studies are built on the same frame differencing:
flow: optical flow from four-neighbour differences, drawn as arrows; point at it to drag the blobtracker: six slots search the motion, box what they find with a confidence, and link upsmear: the wheel is sampled once a frame, so its spokes stall and reverse; the moon is drawn over the whole exposure, so it stays continuous. Hold the pointer down to spin it up{{< animation pattern="warp" dither="blue" levels="2" >}}
{{< animation pattern="plasma" gradient="aurora" gradient-mode="x" dither="bayer4" levels="4" >}}
{{< animation pattern="murmuration" motion="heat" >}}
{{< ascii pattern="rain" motion="trail" decay=".9" >}}| param | front matter | default | |
|---|---|---|---|
dither | asciiDither | — | bayer2 · bayer4 · bayer8 · blue · white, or none |
levels | asciiLevels | 3 | dither steps, 2 (1-bit) to 8 |
motion | asciiMotion | — | trail · heat, or none |
decay | asciiDecay | .82 | trail kept per frame, .5 to .98 |
The front-matter keys set the hero and the closing band, and the same keys in hugo.toml set every
page. A {{< ascii >}} band takes its own params instead. To preview on any page, use the
dither, levels and motion rows of the Style panel, or add ?dither=bayer4&levels=2 or
?motion=heat to the URL.
Images
A standalone image becomes a figure; its title becomes the caption.
Dithered pictures
The dither component renders a picture as real dithered pixels, following the dithering article
step by step:
- Quantise: reduce it to a few grey levels, or to a palette.
- Threshold: compare each pixel with an ordered threshold, or spread the rounding error to its neighbours (Floyd–Steinberg, Atkinson).
- Pixelate: draw each art pixel as a block
pixelCSS pixels wide.
With the default theme palette, the picture is drawn in the page’s text colour on its background, so
it follows the scheme. Without JavaScript, readers get the original picture.

bayer8, two levels in the theme’s ink, 2px pixels
method="atkinson" compare="true": drag across (or focus it and use the arrow keys) to compare with the original
palette="rgb" levels="2": eight colours, bayer4, 3px pixels
palette="ember" levels="4" method="blue" animate="sweep pointer": a band of light crosses it and the pointer is a spotlight, re-dithered live{{< dither src="art/great-wave.jpg" alt="Hokusai's Great Wave" >}}
{{< dither src="scan.jpg" trim="3" method="atkinson" compare="true" caption="fig. 2 — …" >}}
{{< dither src="photo.jpg" alt="…" palette="rgb" levels="2" method="bayer4" pixel="3" >}}
{{< dither src="photo.png" alt="…" palette="ember" levels="4" method="blue" animate="sweep pointer" >}}| param | default | |
|---|---|---|
src | — | a jpg, png, webp or gif from the page bundle or assets/ (required) |
alt · caption | — | one is required; the caption is shown under it |
method | bayer8 | bayer4 · bayer2 · blue · white (ordered) · floyd · atkinson (error diffusion) · none |
levels | 2 | grey levels or palette steps, up to 16; per channel with rgb, up to 6 |
palette | theme | rgb (levels³ colours) · a gradient palette (ember …) · two or more colours |
pixel | 2 | CSS px per dithered pixel, 1 to 8 |
animate | none | sweep · pointer · sweep pointer |
compare | false | true adds a split with the original |
trim | 0 | % cut from each edge first (scan borders), up to 20 |
width · align · frame | picture’s width · center · true | as for animation |
Pixel scenes (WebGL)
Seventeen of the textures are rendered with WebGL and then dithered to real pixels, as in the
dithering article. They work anywhere a texture does: as a hero (ascii: "waves"), in a band, and
in an animation box. Through src, the animation component also takes your own 3D models and
videos.
waves ports Maxime Heckel’s Dithered Waves demo:
- The scene: ridged Perlin noise in eight octaves, domain-warped twice:
fbm(p - fbm(p + fbm(p - t/20))). - The dithering: an 8×8 Bayer threshold with the demo’s −0.75 bias, quantised to four levels, one dot per pixel.
waves: the demo’s shader and dithering, in the text colour on the pagedither="blue" and a palette (gradient="ocean"), 2px pixelssingularity is a black hole, ray-traced:
- The light paths: every ray bends on its exact path round the hole (in units of the horizon’s radius, x″ = −3/2 h² x / r⁵). Wherever it crosses the disk it picks up the disk’s light, so the far side of the disk shows lensed over the shadow and under it, and a thin photon ring rims the shadow.
- The disk: it runs from the innermost stable orbit outward and is brightest near its inner edge. It is streaked by noise that turns at each radius’s orbital speed. The side coming toward you is brighter (Doppler beaming), and the light near the hole is redshifted.
- The sky: rays that fall in stay black; the rest show a sparse star field, lensed too.
It is drawn like the waves, as ink where it is bright, so dithering turns the disk’s falloff into an ordered ramp. In a box, drag it up or down to tilt the view from edge-on to the pole; behind a hero, it leans toward the pointer.
singularity: the defaults, bayer8 at four levels; drag it to tilt the disksingularity with gradient="inferno" dither="blue" levels="5"dither="bayer4" levels="2" pixel="3": 1-bitThe 3D shapes (sphere, torus, knot, icosahedron, blob, rose, lily, pyramid, sigil,
flask, note, notes, android, heart and bloodbag) are lit from the upper left and dithered. In a box, drag a shape to spin it; behind a hero, it leans toward the pointer.
blob: a sphere that wobbles with noise.rose: a flower head of 28 petals set on the golden angle. They curl open from a tight bud to outer petals that roll back, over five sepals and the hip.lily: a flower head of six channelled tepals that flare from a trumpet and curl back, with six stamens and a pistil.pyramid: a square pyramid at the Great Pyramid’s slope, in flat faces.sigil: a cyber sigil: thorned blades mirrored about a spine and round a ring. Each blade is sharp from the front and rounded in depth, so the light runs down its ridge as it turns.flask: an Erlenmeyer flask, turned on a lathe with a real wall thickness, a flared lip and raised graduation marks.noteandnotes: music notes: an eighth note with a curling flag, and two eighth notes under one beam.android: the Android robot. Its parts carry their own tones as well as the light, so the robot’s white eyes show in the dither. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.heart: an anatomical heart, seen from the front. It shows the ventricles, with the coronary arteries lying in their grooves, the atria and their auricles, the aortic arch with its three branches, the pulmonary trunk and its split, the venae cavae and the pulmonary veins. Muscle, arteries and veins are toned apart. It beats about 70 times a minute:- the atria squeeze first;
- then the ventricles contract, with the base pulled down toward the apex;
- the aorta and pulmonary arteries swell as the blood is pushed into them;
- then everything relaxes.
It rests between beats when it holds still.
bloodbag: a filled blood bag. The pouch is a cushion, filled with blood up to a line with an air gap above. It has a welded seam, a hanging slot and two ports, and its blood line is crimped into segments, loops once and ends in a needle cap. The label, its barcode and the graduations are toned apart from the blood, so they read in the dither.
Petals are lit on whichever side faces you, so the deep cups and folds dither into dense shadow.
knot with gradient="viridis": drag it to spin itblob with gradient="sunset" dither="bayer4"rose: the defaults, ink on the pagelily with gradient="plasma" and blue noisepyramid: four flat faces to one apexsigil with gradient="turbo" dither="bayer4"flask: drag it to look insidenotenotes with gradient="ocean"android: drag it round to face youheart with gradient="inferno": atria, then ventricles, then the arteries swellingbloodbag with MATLAB’s gradient="hot": drag it round to read the labelYour own models: a .glb, .gltf or .obj from the page bundle or assets/.
- Every mesh in the file’s scene is merged, scaled to fit the box, then lit and dithered like the shapes.
- Only the geometry is used: textures, materials, skins and morph targets are ignored.
- Draco- or meshopt-compressed files are refused.
src="pawn.obj", smooth normalssrc="gear.glb" gradient="copper": flat faces, MATLAB’s copperVideos: an .mp4 or .webm.
- Playback: the video is dithered, muted and looping, and plays only while it is on screen. It has a pause button, and it holds still for readers who prefer reduced motion.
- Tracking:
track="boxes"runs the blob tracker from the motion article:- frame differencing with a decaying trail
- slots that search around their last position and push away from each other
- for each blob found: a box, a label with its confidence, and a link to the next box
track="reveal"does the same, and shows the original video inside each box.
src="tracking-demo.mp4" track="reveal": tracked balls, the original inside each box{{< animation pattern="waves" width="100%" height="320px" >}}
{{< animation pattern="singularity" dither="bayer4" levels="2" >}}
{{< animation pattern="knot" gradient="viridis" >}}
{{< animation src="model.glb" gradient="copper" >}}
{{< animation src="footage.mp4" track="reveal" width="100%" ratio="16/9" >}}| param | default | |
|---|---|---|
pattern | — | waves · singularity · sphere · torus · knot · icosahedron · blob · rose · lily · pyramid · sigil · flask · note · notes · android · heart · bloodbag |
src | — | a model (.glb, .gltf with its .bin, .obj) or a video (.mp4, .webm) |
track | none | videos: boxes · reveal |
pixel | 1 for waves, else 2 | CSS px per dithered pixel, 1 to 8 |
palette | — | videos: rgb quantises each colour channel |
tone · strength | text colour · 1 | as for the ASCII textures (heroes and bands keep the muted texture colour) |
dither · levels | bayer8 · 4 (shapes 3) | as for the ASCII textures, plus none: no dithering (a video then plays as is) |
gradient · speed · seed · fade | as for the ASCII textures |
The colours follow the scheme:
- Textures (
waves,singularityand the shapes) are drawn as ink on a transparent background, like the ASCII textures. - Pictures of things (models and videos) read the natural way round: on a light page the dark parts get the ink, and on a dark page the bright parts do.
All scenes share one WebGL context. They render at about 30 fps and only while on screen. Browsers
without WebGL2 get an ASCII texture instead (waves becomes warp, singularity blackhole), and a plain player for a video.
Printing
P (or Save as PDF in the shortcuts menu) prints the post as a document: the hero
becomes a cover page, running headers carry the title (and tlp, if set), rails and buttons are dropped, collapsed blocks
open, and a dark scheme switches to the light one. D cycles the color scheme, and
? (or the keyboard button in the top-right corner) lists every shortcut.