Art style formulas

The formula that each of the 100 art-style shaders in atlas/art/<id>.js actually computes. The mathematics column states each computation in standard notation: H is the Heaviside step, ⌊x⌋ the floor, {x} the fractional part, h a hash, η value noise, and Sa,b(x) = 3s² − 2s³ with s = min(1, max(0, (x − a)/(b − a))) the smooth step from a to b. The code-notation column keeps the shader's own terms. Inputs: C scene colour, D depth, N surface normal, W world position, B beat times, t time, X renders at earlier times. Every style is a pure function of these inputs (no random numbers, no clock, no memory of the previous frame). Formulas were read from the code by 4 Claude Sonnet agents, 25 styles each; constants are the ones in the code.

Tiers
A: 17 — A named law or exact construction is the core
B: 65 — A standard model in approximate form
C: 18 — A cultural convention imitated by generic operators
Operators, by number of styles that use them
palette-map65
noise61
edge-detect59
threshold53
lattice/tiling45
quantise34
convolve/blur29
time-integrate27
beat-envelope21
reproject-by-depth21
physical-law17
frame-step14
voronoi7
material-hook6
#StyleTierLaw or modelFormula (mathematics)Formula (code notation)OperatorsFidelity to the law or model
1Wet watercolor
wet-watercolor
BDepth-aware (bilateral) diffusion
wet = S(1 − smoothstep(0,1.1,beatAge)), S = 3x²−2x³
wash(q) = Σᵢ₌₀²⁷ C(q+rᵢ)·wᵢ / Σwᵢ, wᵢ = exp(−|D(q+rᵢ)−D(q)| / (D(q)·tol)), R = 3+18·wet·(0.5+pool) px, tol = mix(0.04, 0.55+0.6·pool, wet), q = uv + (fbm−½)(5+16·wet)px
T = clamp(wash/0.82)^1.25 ; rim = max(S(0.01,0.05,maxΔD/D), S(0.06,0.3,maxΔC)·0.75) ; out = paper·T·(1−0.85·rim)·(1−0.34(grain−½))
convolve/blur, edge-detect, noise, beat-envelope, quantise, palette-mapPigment spread is a 28-tap depth-weighted blur whose radius grows at the beat; it is not a fluid or pigment-transport simulation.
2Ink in water
ink-in-water
BCurl-noise advection
loose = smoothstep(0,0.9,age)·(1−smoothstep(1.1,2.4,age)) ; A = 115·loose·near
p ← p + curl(fbm)(p·f_k + t)·A·(1−0.28k), k = 0..2, curl(p) = (∂y fbm, −∂x fbm) by finite difference e = 0.6
c = mean₁₈ C(p + disc(R)), R = 3.2+22·loose ; T = clamp(c/0.85)^(1.15·dens) ; out = water(y)·min(1.45T, 1.35)
noise, convolve/blur, beat-envelope, palette-map, time-integrateThree-step domain warp by divergence-free noise gives ink-like swirls; there is no Navier-Stokes or diffusion step and no time history, so it is a pure function of beat age.
3Darkroom print
darkroom-print
BPhotographic development as a threshold sweep
g = S(clamp((C_lum^(1/2.2) − 0.38)/0.58)) ; dens = 1 − g ; te = 0.62(1−dens) + 0.14(fbm−½)
prog = clamp(age/1.9) ; shown = smoothstep(te, te+0.3, prog)·smoothstep(0,0.12,prog) ; silver = dens·shown
out = red(0.4,0.005,0.002)·(0.03 + 1.05·(1 − silver)) inside the paper rectangle [0.06,0.94]×[0.07,0.93]
threshold, beat-envelope, noise, palette-mapPer-pixel appearance time te = 0.62·(1−dens) makes dark tones appear first; it is a ramp on luminance, not an emulsion kinetics model (no log-exposure H&D curve).
4Cyanotype sun print
cyanotype-sun-print
BPhotographic contact printing (UV exposure mask)
p = clamp((uCanon − t₀)/(t₁ − t₀)) over the current beat interval ; paper = mix(mix(yg(0.5,0.55,0.1), mid(0.07,0.3,0.34), S(0,0.55,p)), blue(0.004,0.026,0.12), S(0.35,1,p))
obj = 1 − smoothstep(1.12,1.28, linDepth/uFocus) ; m = smoothstep(0.35,0.65, mean₁₂ obj(uv+disc(R))), R = mix(16, 0.8, S(0.7,1.25,d0)) px
out = mix(paper, white(obj shading, inner edges by ΔD/D), m) ; ground plane via worldNormal.y > 0.92 and worldPos.y − gy < 0.045·uFocus
threshold, convolve/blur, edge-detect, beat-envelope, palette-map, time-integrateObjects within 1.12–1.28 × uFocus act as the mask; the penumbra widens with distance from focus like a gap between object and paper, but the exposure is a colour ramp, not UV dose accumulation.
5Ageing fresco
ageing-fresco
BVoronoi crack network
A = smoothstep-blend(uCanon/(lastBeat+1.5)) ; c = floor(C^(1/2.2)·7 + ½)/7 → mix(c·0.92, plaster(0.84,0.77,0.64), 0.22+0.4A)
cracks: (f1,f2) = Worley(fc/58 + warp) ; line = 1 − smoothstep(0, 0.09+0.06A, f2−f1) ; alive = smoothstep(reach, 0.35·reach, prox)·step(cellId, 1.5A+0.02), reach = 8+70A px, prox = distance to nearest depth edge by 6-ray march
flakes: 3×3 jittered discs (r = 9..21 px, born when A ≥ tf) over depth-edge cells; out = mix(col, plaster-sub, lost)
voronoi, quantise, edge-detect, noise, time-integrate, palette-mapCracks are F2−F1 Worley ridges grown outward from depth edges over the timeline; no stress or fracture mechanics.
6Pyrography
pyrography
C
hot = exp(−1.5·age) ; tone = clamp((1 − C_lum^(1/2.2) − 0.06)·1.5)
stripe = ½+½cos(2π(0.6x+0.8y)/7 + 1.5fbm) ; hatch = smoothstep(1−1.15·tone, +0.22, stripe)·step(0.07,tone) ; outline = max(S(0.012,0.035,max ΔD/D), S(0.3,0.6,max(1−n·n′))·0.85)
burn = max(outline, 0.9·hatch)·(wood-ring modulation) ; glow = max(0.9·outline, 0.45·hatch)·burn·hot ; lin += ember·glow²·4
edge-detect, threshold, noise, beat-envelope, palette-mapTone becomes a 45°-ish line hatch plus an outline over a ring-grain wood texture, with an exponential glow decay; no heat-diffusion or charring physics.
7Patina plate
patina-plate
BDistance-field growth (reaction front)
p = beat progress ; hᵢ = first distance along ray i (6 rays, 10 px × 10 steps) where depth rises > 7% ; prox = minᵢ hᵢ ; width = min of opposite-ray sums
reach = min(92p, 0.36·width)·(0.55+0.9·fbm) ; inside = 1 − smoothstep(0.7·reach, reach, prox)
cover = inside·smoothstep(0.25,0.55, crust+0.35) ; out = mix(copper(0.93,0.5,0.31)·(0.38+0.8L), green, cover) ; engraved edge line mix 0.75
edge-detect, threshold, noise, beat-envelope, palette-map, time-integrateGreen grows inward at up to 92 px per beat from a ray-marched distance to the object silhouette; it is a screen-space distance front, not an electrochemical corrosion model.
8Sand on a light box
sand-on-a-light-box
ABeer–Lambert transmission
g = clamp((C_lum^(1/2.2) − 0.42)/0.5) ; thick = 3.6·(1−g)^1.25 · grain · ridge · present · swept + 2.4·bank
trans = (e^(−0.75·thick), e^(−1.75·thick), e^(−4.6·thick)) ; out = lit(1.55,1.42,1.18)·trans
sweep: sx = mix(−0.08, 1.08, S(clamp((0.95 − τ)/0.7))), τ = nextBeat − uCanon ; present = smoothstep(arrive−0.02, arrive+0.2, 1.25·smoothstep(0,0.65,age))
physical-law, threshold, beat-envelope, noise, palette-mapPer-channel exponential absorption with distinct coefficients (0.75, 1.75, 4.6) is exact Beer–Lambert; the thickness is a fake from image luminance, not geometry.
9Paint on glass
paint-on-glass
BDirectional smear with Blinn-style gloss
f = floor(8·uTime + ½) ; θ = (h(f) − ½)·3.6 + 0.35 (+π by coin) ; dir = (cosθ, sinθ)
len = (8 + 64·bristle(across, f))·(0.3 + 0.7·near), near = smoothstep(0.02,0.1, max ΔD/D at 26 px)
c = mix(mean₁₄ C(uv − dir·len·s·px)·e^(−0.6s), C(nearest-depth tap), 0.9) ; relief rel = fbm+0.5vn ; spec = (n·h)^22, n = normalize(−∇rel·9, 1)
frame-step, convolve/blur, noise, edge-detect, palette-mapA 14-tap 1D smear along a per-frame random direction with a procedural gloss bump; the stroke direction is random, not tied to a brush path.
10Screen-print pull
screen-print-pull
ASubtractive CMYK-style halftone with misregistration
aY = (1 − cY.b)·1.25 − 0.05 ; aR = (1 − cR.g)·1.25 − 0.1 ; aB = (1 − cB.r)·1.15 − 0.15 (each layer sampled at offset oY=0, oR=(5,−3), oB=(−4,4), oK=(2,2.5) px)
ht(a) = smoothstep(d−0.1, d+0.1, √a·0.62), d = ‖fract(R(θ)·fc/6) − (½,½)‖ ; θ = 0.26, 1.31, 0.785 rad ; key = max(S(0.18,0.34,edge), S(0.14,0.06,L))
out = paper·Π mix(1, ink_j, cover_j·printed_j) with inks Y(1,0.86,0.16) R(0.93,0.2,0.22) B(0.12,0.3,0.68) K ; squeegee front xs = S(age/0.9)·1.1 − 0.05
lattice/tiling, threshold, edge-detect, beat-envelope, palette-map, quantiseRotated-grid dot halftone with multiplicative ink layers and per-layer offsets is a faithful geometric construction; the separation uses 1 − channel (not full CMYK) and only the four-beat sequence is a squeegee animation.
11Banknote engraving
banknote-engraving
ALevel-set lines in world space (anti-aliased by screen derivative)
tone = clamp(C_lum^0.62) ; f = (P·a)/uPeriod, uPeriod = 0.06, a = the least-aligned of 3 fixed axes to N (min |N·dᵢ|)
ink = clamp((w − |fract(f) − ½|)/fwidth(f) + ½) , w = ½·cov, cov = clamp(1.12 − 1.2·tone, 0.14, 0.97) ; cross-lines on axis b at period 1.4·uPeriod, 0.55, when tone < 0.3
sky: f = y/6 + 5 sin(x/150 + y/400) + 2 sin(x/41) ; + depth-edge outline ; out = mix(paper, ink(0.04,0.13,0.1), ink)
lattice/tiling, threshold, edge-detect, palette-mapLines are exact world-space plane-family level sets anchored to the surface, but each plane is chosen from only three fixed axes, so lines do not follow the true surface curvature.
12Oil impasto
oil-impasto
BBump-map lighting (Lambert + Blinn-Phong)
stroke dir d = turn(N): t = (−N.y, N.x)/|·|, blended to DEF(0.94,0.34) by smoothstep(0.05,0.35,|t|) ; trace ±9 steps of 2 px while dot(Nq,Np) > 0.86 and ΔC small
Height H = hid + 2(brist − 0.5) ; g = (H(uv+o·x̂) − H, H(uv+o·ŷ) − H) with o = 1.4 px ; bn = normalize(−2.4g, 1)
diff = max(bn·L,0), L = (−0.85,0.35,0.28) ; spec = (bn·normalize(L+ẑ))^28 ; out = base·(0.55+0.9(diff − L.z)+0.45) + spec·0.9·(0.4+L)
convolve/blur, noise, edge-detect, palette-mapStroke height is hash noise integrated along streamlines of the surface-normal tangent, then lit with Lambert and Blinn-Phong; the height field is invented, not paint volume.
13Cross-contour
cross-contour
AContour (level-set) lines
f = (P·normalize(0.03,1,0.02))/uPeriod + 0.318, uPeriod = 0.1 ; idx = round(f) ; dl = |f − idx|
ink = 1 − smoothstep(hw−0.6, hw+0.6, dl/fwidth(f)), hw = (0.75 + 0.9·[idx mod 5 = 0])·sc px ; faded where fwidth(f)/sc > 0.26..0.5
out = mix(paper, pen(0.05,0.045,0.06), ink·(1 − sky))
lattice/tiling, threshold, palette-mapExact iso-height lines of world position projected on a near-vertical axis with every fifth line heavier, like a contour map; it uses planar slices of the whole scene, not the object's own cross-sections.
14Charcoal
charcoal
BDirectional smear plus paper-tooth threshold
D₀ = clamp((1 − C_lum^0.4545)/0.9) ; smear = Σₖ₌₁¹⁴ w_k·D(p_k)/Σw_k along the surface tangent flipped towards TOLIGHT(−0.6,0.8), step 6 px, w = alive·(1−k/15)
Dm = max(D₀, 0.9·smear) ; D = Dm + (ns−½)·0.45·S(0.05,0.4,Dm) ; tooth = 0.65·fbm + 0.35·h
ink = smoothstep(tooth−0.5, tooth+0.5, 1.05D)·(0.55+0.45S(0.2,0.8,D)) ; cover = ink·0.85 + soft·0.6 + … ; out = mix(paper, coal(0.02), cover)
threshold, convolve/blur, noise, palette-mapTone is dragged along the surface tangent and thresholded against a paper-tooth noise field; no pigment deposition model.
15Rainbow scratchboard
rainbow-scratchboard
BStreamline-integrated noise threshold
lit = smoothstep(0.15,0.95, C_lum^0.4545)^1.6 · [|N| ≈ 1 ± 0.07] ; v = streak(uv, reach 0.75) = ½ + (Σ w·h(cell(p_k))/Σw − ½)·3.2, streamline over ±14 steps while dot(Nq,Np) > 0.86
thr = 0.94 − 0.42·lit ; scr = smoothstep(thr−0.04, thr+0.03, v) ; hue = fract(0.9·x/H + 0.55·y/H)·1.1 + 0.25vn)
rainbow = 0.55 + 0.5cos(2π(hue + (0, ⅓, ⅔))) ^1.6·1.7 ; out = mix(coat(0.012), rainbow, scr)
threshold, convolve/blur, noise, palette-map, edge-detectHash noise smoothed along surface streamlines is thresholded by lit tone; the cosine palette is a flat screen-space gradient, not a diffraction effect.
16Linocut
linocut
BTone threshold with noise-streak gouges
g = C_lum^0.4545 ; light = ½S(0.36,0.5,g) + ½S(0.56,0.74,g) (3-level) ; v = streak(uv, cell 3.2, reach 1.7), ±10 steps along the surface tangent, gain 2.8
thr = 1.12 − 1.4·light ; cut = smoothstep(thr−0.05, thr+0.05, v) ; ink = max(1 − cut, fleck) ; fleck = (1−S(0.03,0.07,v))·S(0.6,0.95,light)·[h(cell/5) > 0.7]
ink = max(ink, smoothstep(0.3,0.55, max(1−n·n′, 1.8ΔC))) ; out = mix(paper, inkC(0.004,0.012,0.045), ink)
threshold, quantise, convolve/blur, edge-detect, noise, palette-mapBinary ink from luminance against a surface-aligned noise threshold, plus edge carve lines; it imitates cut marks but has no relief-printing model.
17Sumi-e ink wash
sumi-e-ink-wash
C
silhouette: rmin = smallest ring radius (8 dirs × 6 radii of 1.35 px) where D(q) > D₀·(1.02 + 0.002r) ; sil = (1 − smoothstep(w−1, w+0.7, rmin))·(1−sky), w = (3 + 5vn)·sc
shade = smoothstep(0.7,0.05, N·normalize(−0.5,0.6,0.62)) ; dry = shade·smoothstep(0.3,0.75,bundle(cell 12))·smoothstep(0.5−0.35shade, 0.75−0.35shade, fine(cell 1.7)), streaks traced ±10 steps while ΔD/D < 0.04
out = mix(paper, ink(0.007), clamp(1.1·max(sil, dry)))
edge-detect, threshold, noise, convolve/blurA depth-step silhouette stroke plus normal-lit dry-brush streaks; the sparse-paper composition of sumi-e is only imitated by thresholds.
18Silk embroidery
silk-embroidery
BAnisotropic highlight (Kajiya–Kay) on stitch lattice
θ = round(atan2(d)/15°)·15°, d = turn(N) ; local coords (x′,y′) = (fv·dq, fv·pq) ; rows of width W = 4.6, stitch length LH = 36 px with row offset h(row,θ)·LH ; thread colour = C at stitch centre
cyl = √(1 − (2v)²) ; thread = cc·(0.6+0.5cyl)·jit ; T = normalize(dq, −(dq·N_xy)/max(N.z,0.3)) ; H = normalize(L+ẑ), L = (−0.4,0.5,0.75) ; spec = (√(1−(T·H)²))^70 · …
out = mix(linen weave, thread, 1 − smoothstep(0.9,1,dist))
lattice/tiling, quantise, palette-map, physical-lawThe highlight uses the Kajiya–Kay sin(T,H)^70 fibre formula with a tangent from the surface direction; the stitch layout is a rotated brick lattice with colour held per stitch.
19Fixed pointillism
fixed-pointillism
BJittered 3D lattice (Worley-style) anchored in world space
q = P/uCell + shift, uCell = 0.12 ; nearest of 27 cells: ctr = cell + ½ + 0.6(r−½), radius rad = 0.46 + 0.2·frac(7.3r.x + 3.1r.y) ; m = |q − ctr|/rad ; second layer at 0.62·uCell
cover = 1 − smoothstep(1 − aa, 1, m), aa = clamp(|fwidth P|/uCell/0.5, 0.02, 0.6) ; dot colour = C sampled at the reprojected dot centre pick.yzw via (proj·view·pt) ; pure(c) = max(mix(L, c, 2.8), 0)
sky: 2D jittered grid 11 px
lattice/tiling, reproject-by-depth, palette-map, voronoiDots are world-anchored by reprojecting the 3D cell centre into the image; correct for visible surfaces, but colour of occluded centres falls back to the pixel colour.
20Flow-field strokes
flow-field-strokes
BStreamline tracing in a vector field (curl noise)
objects: dir = turn(N) ; background: dir = normalize(0.8·curl(vn(0.012·fc)) + 1.6·aw·around), around = perp of g = Σ₈ e·(obj(uv+30e) + 0.8·obj(uv+75e)) px
trace ±9 steps of 1.7 px (re-orient dir by dot sign), alive stops at depth jump 5% or normal break (dot < 0.88) ; hid = fract(37.1·max hash of 8 px cells along path)
out = base·(0.78 + 0.4·hid)·(0.88 + 0.24·bristle), base = mix(C, C(stroke source cell), 0.75)
noise, convolve/blur, palette-map, edge-detectEach pixel integrates a short streamline and takes the colour of one randomly picked cell along it; the field is surface tangent on objects and curl noise plus orbit-around-objects elsewhere.
21Paper-cut light box
paper-cut-light-box
BDepth quantisation (posterise)
zn = clamp((log₂(D/uFocus) + 0.8)/1.8) ; k = min(floor(8·zn), 7), sky = 8 ; f = k/8
sheet colour = (floor(C^(1/2.2)·3 + ½)/3)^2.2 · mix(0.6,1,f) · mix(1, warm(1,0.62,0.28), 0.35f) + warm·f^1.6·0.3
shadow: 3 taps at (−1,−1)·9i px, +Δk/2 darkening when D − D(q) > 4% ; cut edge: 8 taps at 3.6 px where sheet(q) > k and gap > 4%·D → white 0.92
quantise, edge-detect, palette-mapDepth is cut into 8 log-spaced bands with a drop shadow from a one-direction tap; geometrically like layered paper, but not a real shadow model.
22Stone bas-relief
stone-bas-relief
AHeightfield shading (Lambert + shadow march)
H = (1 − zn)^0.8·[not sky], zn = clamp((log₂(D/uFocus)+0.8)/1.8) ; ∇H by central differences at e = 1.5 px
n = normalize(−9∇H − 0.7·N_xy, 1) + 0.28·grain ; lit = max(n·L, 0), L = normalize(−0.9,0.3,0.3)
shadow: sh = max over 12 taps along −L_xy (2.2 px steps) of clamp((H(q) − H − 0.012i)·9) ; lit *= 1 − 0.8sh ; out = stone(0.66→0.84)·(0.07 + 1.25·lit^1.3) · (1 − 0.45·joint) with brick joints, rows of 360 px
edge-detect, lattice/tiling, noise, physical-law, convolve/blurLambert on the height-field normal with a screen-space shadow march is a standard construction; the height is a compressed log of depth, so relief is invented in scale.
23Voxel cells
voxel-cells
AAxis-aligned voxel grid (exact cell and face from world position)
cs = 0.3·max(uFocus/10, 0.3) ; Pin = P − 0.3·cs·N ; id = floor(Pin/cs) ; fn = dominant-axis face normal ; colour from the scene at the projected cube-face centre ctr + fn·cs/2
g = floor(C^(1/2.2)·4 + ½)/4 ; face shade: +y 1.08, −y 0.5, ±x 0.86, ±z 0.72 ; groove: e1 = max of the two other |fract(Pin/cs) − ½| ; bevel = smoothstep(0.465−w, 0.465+w, e1) → col·0.5, rim +18%
lattice/tiling, quantise, reproject-by-depth, palette-mapExact cell and face assignment from world position; the colour comes from one reprojected sample per cube, so it can pick up hidden surfaces when occluded.
24Lithophane
lithophane
ABeer–Lambert transmission
th0 = sky ? 0.05 : 0.1 + 0.9(1 − zn) ; th = clamp(c + 1.6(c − mean₈ th0(uv + 0.035·R)), 0.02, 1.2) (unsharp mask)
trans = exp(−2.9·th) ; glow = trans^2.5 ; col = tint(trans)·(0.04 + 1.25·trans + 0.7·glow) + 0.1·(rel − ½) ; rel = clamp(0.5 − 10(0.8·∂ₓth + 0.6·∂ᵧth))
physical-law, edge-detect, convolve/blur, palette-mapTransmitted light uses Beer–Lambert with absorption coefficient 2.9 on a thickness derived from log-depth; thickness is a stand-in for geometry and the colour tint is hand-mixed.
25Mist-layer ink landscape
mist-layer-ink-landscape
C
z = zn(uv) (0 near, 1 far) ; zl = 6·clamp(z + wob) ; k = min(floor(zl), 5), fr = zl − k ; f = (k+½)/6 ; ink = mix(0.9, 0, (1−f)^0.55)·(noise)
mist = smoothstep(0.7,1,fr)·(k<5 ? mix(0.55,0.95,f) : 0.4) + cloud term ; cover = 1 − mist ; amount = (1 − ink)·cover·(1 − sky) + 0.45·line ; line = smoothstep(0.02,0.07, ΔD/D)·(1−0.6z)
out = mix(paper·2, inkCol + 0.04·paper, amount^1.2)
quantise, edge-detect, noise, palette-mapDepth is cut into 6 layers with a mist gap fading each far side; atmospheric perspective is imitated by a hand-set ink curve, not by Beer–Lambert or physical scattering.
26Ridgeline plot
ridgeline-plot
BPainter's algorithm / Joy Division ridgeline plot
ν(q) = 1 − clamp((log₂(z(q)/uFocus)+0.5)/1.0, 0,1) for geometry, 0 for sky
h(x,y₀) = (5.5/80)·Σᵢ₌₋₈..₈ (9−|i|)·ν(x+3i/W, y₀) / Σ(9−|i|)
line j (10-line window from floor(y·80)−7): Y_j = y_b,j + h(x,y_b,j), spacing 1/80; first j with Y_j ≥ y owns the pixel: val = smoothstep(tw, 0.25·tw, Y_j − y), tw = (1.5+min(slope,3)·0.9)/H
threshold, convolve/blur, lattice/tilingReal front-to-back occlusion of 80 displaced lines, but height is a depth-derived nearness, not a data series; colour is ignored.
27Moiré fringe
moire-fringe
AMoiré superposition of two line gratings (fringe = level line of phase difference)
d = min(z·(1+14(√(1+|tn|²)−1))/uFocus, 4), tn = NDC·(P⁻¹₀₀,P⁻¹₁₁)
G(x,duty) = ink coverage of fract(x) within duty/2 of 0.5, duty = 0.42
ink = 1 − (1−G(x/p))(1−G(x/p + 5d + 0.0055y)), p = 7 px·S
out = mix(paper, (0.012,0.016,0.03), ink)
lattice/tiling, threshold, physical-lawGenuine two-grating overlay whose second phase is 5 periods per focus distance of depth, so fringes are true level sets of that phase; the ray-distance factor is an artistic tweak.
28Anaglyph 3D
anaglyph-3d
ABinocular parallax / stereo disparity with red-cyan channel separation
disp(d) = clamp((1/d − 1/uFocus)·uFocus·100·S, −90S, 140S) px, zero at the focus plane
eye(s) at pixel x: nearest-depth source q within ±88 px (step 2S) with |q.x·W + s·disp(d_q)/2 − x| < 1.6S+0.3
L = eye(+1), R = eye(−1); lL = dot(L,(0.2126,0.7152,0.0722)); out = ( 1.05·mix(lL,L,0.45).r, R.g, R.b )
reproject-by-depth, physical-law, palette-mapReal inverse-depth disparity with z-ordered forward warp and hole filling; disparity gain (100) and clamps are artistic, not a calibrated eye baseline.
29Autostereogram
autostereogram
AThimbleby–Inglis–Witten single-image random-dot stereogram (SIRDS) separation formula
zs = 0 for sky; else 0.12 + 0.88·(1 − clamp((log₂(z/uFocus)+0.8)/1.8, 0,1))
sep(z) = round(E·(1 − μz)/(2 − μz)), μ = 1/3, E = round(300S/ds), ds = 2S px
chain: x ← x − sep(zs(x,row)) until x−sep < 0 (≤40 steps); dot = hash(x,row) in 4 tones
lattice/tiling, noise, reproject-by-depth, physical-lawUses the exact textbook separation formula with the left-ward dependence chain; depth is log-remapped and only 40 chain steps are followed, so long chains end early at a hash seed.
30Bokeh mosaic
bokeh-mosaic
BThin-lens circle of confusion, c ∝ |1/d − 1/d_focus|
coc(q) = clamp(|1/d − 1/(0.3·uFocus)|·uFocus·15, 14, 52) px·S (sky d = 6uFocus)
base = 0.8·Σ₄₀ tap(sunflower r = √((i+.5)/40)·coc, angle 2.39996·i)·w / Σw
sources: 1 jittered point per 20S px cell (7×7 cells): ex = clamp(6(L−Lm)+0.6(L−0.55),0,1); add = c·ex·cover(coc)·(0.55+0.9·smoothstep(0.7,1,dist/coc))·0.5
out = 1.1(base + add)
convolve/blur, lattice/tiling, noise, reproject-by-depth, thresholdCoC follows the thin-lens 1/d form but is clamped to 14–52 px so nothing is sharp, and the light discs are synthesised from a luminance excess, not real highlights.
31Soap film
soap-film
AThin-film interference (two-beam, half-wave phase loss, n = 1.33)
cosθ = |n_z|; cosθ_t = √(1 − (1−cos²θ)/1.769)
thick = 190 + 330(0.5−0.5·n_y) + 260·(fbm(rot·2.6p)−0.5) + 400·drain(y + 0.035t)  [nm]
film_λ = 0.5 + 0.5·cos(4π·1.33·thick·cosθ_t/λ + π), λ = (650,540,450) nm; film = film^1.8·1.25
out = 1.25(0.42·C + film·(0.3+0.55·smooth(r_y)+1.3·box)·(0.45+1.3·F)), F = 0.12+0.88(1−cosθ)³
physical-law, noise, time-integrate, palette-mapCorrect two-beam interference formula per R,G,B wavelength with Snell refraction; the thickness field is invented (normal.y gravity + noise), and Fresnel is a cubic approximation.
32Schlieren
schlieren
BKnife-edge schlieren (signal ∝ refractive-index gradient)
knife(o) = (n(x+o)−n(x−o) + 0.45(n(y+o)−n(y−o)))·(1,0.55,0)·1.5 + 1.6·[Δln z along x + 0.45·Δln z along y], o = 1.8+2.4c px for c = R,G,B
s_c = knife(o_c) + plume_c;  g = 0.46 + 0.1·near + 0.48·s/(0.55+|s|);  out = 1.35·clamp(g)^2.2
plume: march 12 jittered steps upward, hit if z < 0.72·z₀; amplitude = sin(0.17x+6·fbm)·(1−hit/108)^1.5·mask
edge-detect, noise, time-integrate, convolve/blurKnife-edge reading as a directional derivative of normals and log depth is the right idea, but it images surface slope, not a refractive-index field; the plumes are noise filaments.
33Prism split
prism-split
BDispersion of white light (hue-ordered spectrum), edge-driven
for 16 directions (angle i·0.3927), radii r = 1.5k, k ≤ 16: dl = ld(x) − ld(x+r·dir), ld = ln(min(z,4uFocus)/uFocus); hit if dl > 0.06 and r < W, W = clamp(100·dl, 4, 24)
best = min r/W;  band = hue(0.76·best)·(0.55+0.9L);  out = mix(C, band, 0.8·smoothstep(1,0.85,best))
edge-detect, palette-map, reproject-by-depthSpectrum bands are a hue ramp laid on the far side of each depth step with width growing with step size; no wavelength-dependent refraction is computed.
34X-ray film
x-ray-film
BProjection radiography ~ additive accumulation along the ray, edge-on brightening
material: AdditiveBlending, DoubleSide, no depth write; per fragment: xf = 1 − |n·v|, rgb = (0.62,0.83,1.0)·(0.03 + xf^2.2)·0.5·α
post: o = max(C + b5 − 2·min(b26, C), 0)·1.8·vignette, b5 / b26 = 5×5 box means at 5 px / 26 px spacing; ·(1+0.25g) grain; tint (0.92,1,1.12)
material-hook, convolve/blur, physical-law, noiseAdditive layering with limb brightening approximates accumulated attenuation per surface, not volumetric Beer–Lambert; the post pass removes flat regions by subtracting a wide local mean.
35Shadow-puppet screen
shadow-puppet-screen
BPenumbra grows with occluder-to-screen distance (point-source shadow blur)
zn = clamp((z/uFocus − 0.8)/0.9, 0,1); for 4 layers zc = k/3, R = (1.6, 5, 10, 17) px: acc_k = (1/16)·Σ present·max(0, 1 − 3|zn − zc|) over a 16-tap sunflower disc, shifted by flame wobble·(0.3+1.2zc)
shadow = min(1.08·Σ acc_k·mix(1,0.7,zc), 1)
cloth = warm·(0.3 + exp(−2.6|d|²))·flicker·weave;  out = 1.9·cloth·mix(1, (0.012,0.006,0.003)+0.025C, shadow)
convolve/blur, time-integrate, lattice/tiling, palette-mapDepth-layered blur with radius rising for far layers imitates penumbra widening, using 4 fixed bins instead of a real light-source projection; cloth weave is procedural.
36Stained glass
stained-glass
BVoronoi tessellation with edge-detected lead came
seed_c = (cell + 0.12 + 0.76·h(cell))·140 px; d1,d2 = nearest/second-nearest; border = (d2−d1)/2
base = mix(depth-and-colour-bilateral local mean cl, seed colour sc, same), same = 1 − smoothstep(0.08,0.2,|z₀−z_seed|)
lead = max(1−smoothstep(3,7,border), smoothstep(0.04,0.1,Δlnz), smoothstep(0.35,0.65,1−n·n′), smoothstep(0.3,0.5,Δc))
g = snap to nearest of 8 glass colours (chroma-direction distance), mix 0.75, ·(0.55+0.45L)·per-pane tint; out = mix(g, lead, lead)^2.4
voronoi, edge-detect, quantise, palette-map, noiseReal jittered-Voronoi panes with depth/normal/colour edges as lead; colours are snapped to an 8-glass palette, not simulated transmission.
37Afterglow
afterglow
BPhosphorescence decay (empirical hyperbolic decay)
age = beatAge(); lit = 1 − smoothstep(0,0.16,age); R = 1.2 + 9·smoothstep(0,2.4,age)
pc = mix(C, blur_R(C), smoothstep(0,0.6,age)); charge = clamp(1.25·lum(pc),0,1)^1.4·(0.35 + 1.4·sat)
decay = 1/(1 + 2.6·age)·(1 − 0.45·smoothstep(1.6,2.6,age))
out = room + C·lit + (0.22,1,0.42)·charge·decay·speck·1.5·(1 − 0.5·lit)
beat-envelope, convolve/blur, time-integrate, palette-mapHyperbolic decay 1/(1+2.6t) has the fast-then-slow shape of phosphorescence, but it is closed-form in beat age, not a stored charge integrated over frames.
38Thermal camera
thermal-camera
C
heat = 0.05 + near·(0.03 + 0.62·clamp(1.1L,0,1)^1.1), near = 1 − clamp((z/uFocus − 0.5)/1.5,0,1); sky = 0.03
v = mean₃ₓ₃ heat over 3-px sensor cells + noise 0.05·h + 0.012·sin(0.5y+40t)
out = 1.6·iron(v)^1.5, iron = 6-stop piecewise-linear ramp (black, violet, magenta, orange, yellow, cream), plus crosshair, 7-segment readout and scale bar
palette-map, quantise, noise, lattice/tilingNot radiometric: heat is brightness times nearness shown through an iron-bow palette; the displayed temperature is mix(10,40,heat) with no physical basis.
39Coloured shadows
coloured-shadows
AAdditive colour mixing of three lamps; occluding one lamp gives its complementary colour
n = normalize(gx/wpx, gy/wpx, 1) from depth slope; lamps at 90°,210°,330°: L_k = normalize(0.6·dir_k, 0.8)
occ_k = max over 16 steps (dist = 4+70t², t = i/16) of smoothstep(0, 0.012z₀+0.02, z₀ + g·dist − z(x + dir·dist) − 0.55·dist·wpx − 0.008z₀)
lit_k = mix(1, clamp(n·L/L_z, 0, 1.3), 0.4)·(1 − occ_k);  out = 2(0.96·(lit_R, lit_G, lit_B) + 0.015)
physical-law, reproject-by-depth, edge-detectEach lamp is traced with a screen-space depth march and added in its own colour channel, so shadows are the true complements; lamp directions are fake screen-plane directions and occlusion is a height-field approximation.
40Corona discharge
corona-discharge
C
for 8 directions, 8 geometric radii r = 2.2·1.5^k: hit where ld(x+r·dir) − ld(x) − g·dir·r < −(0.06 + 0.6|g|r); refine 3 bisections; best = nearest r, nrm = Σ dir·(1−r/44)
fringe = exp(−best/2.6); filaments: s along the edge, cell = floor(s/7), len = 7 + 34·(h·(0.4+0.8·seed))^1.4, flicker 0.6+0.4·sin(17t + …)
glow = 1.3·fringe + 3·fil·flick; col += mix(violet, core, fringe)·glow + violet·0.3·exp(−best/9)
edge-detect, noise, time-integrate, palette-mapImitates the look of a violet corona by drawing noise streamers on the far side of depth edges; there is no electric-field or ionisation model.
41Lidar scan
lidar-scan
ASpherical-grid ray casting (equal-angle scan pattern) with time-of-flight range colouring
S = (0, 0.45F, 0.85F) fixed in world; d = (P−S)/|P−S|; el = asin d_y, az = atan(d_z,d_x); row = round(el/0.0075), azStep = 0.0075/cos(row·0.0075); cell = round(az/azStep)
q = ((az − cell·azStep)/azStep, (el − row·step)/step); pixel offset pp = J⁻¹q (screen Jacobian by finite differences); pt = exp(−|pp|²/(2·sz²))
rings: rad = fract(0.45t + 0.5i)·2.2F; flash = exp(−((rad−dist)/0.05F)²), tail = exp(−(rad−dist)/0.25F);  colour = ramp((dist/F − 0.45)/1.0)
lattice/tiling, reproject-by-depth, palette-map, time-integrate, thresholdFaithful ray-grid geometry anchored in world space so points stick to surfaces; hits come from the depth buffer, not ray traversal, and range colour and rings are cosmetic.
42Sonar fan
sonar-fan
BSector-scan sonar geometry (range–bearing) with exponential speckle
apex = (0.5W, 0.05H); ang = atan(dx,dy), r = |d|/(0.9H), sector ±0.8727 rad; u = 0.5 + 0.5·ang/0.8727; zr = mix(0.45F, 1.75F, r), tol = 3 px of range
echo = (1/6)·Σ₁₂₈ over column u: exp(−((z−zr)/tol)²)·(0.12 + 0.88·max(n_z,0)^1.5)
e = echo·(0.35·sp + 0.65·sp₂), sp = −ln(max(h,0.02)) (exponential, 12 fps);  gray = 1 − exp(−1.3e)
reproject-by-depth, physical-law, noise, lattice/tiling, time-integratePlots the depth column against range and weights by surface facing with exponential-intensity speckle (correct for fully developed speckle); there is no acoustic propagation or elevation ambiguity.
43Electron micrograph
electron-micrograph
BSEM secondary-electron yield ∝ 1/cosθ (tilt) plus edge effect
yield = (1 − cosθ^1.1)^0.75, cosθ = |n_z|;  ed = clamp(0.9·max(|n(x+2)−n(x−2)|, |n(y+2)−n(y−2)|),0,1);  side = 0.5 + 0.5·n·norm(0.7,0.55,0.45)
s = 0.10 + 0.42·yield·(0.7+0.5·side) + 0.62·ed; sky → 0.06+0.05·side
s += (h₁+h₂−1)·(0.20 − 0.08s) + row jitter (24 fps);  out = 1.25·s^1.08
edge-detect, noise, physical-law, time-integrate1/cosθ is replaced by a bounded 1 − cosθ^1.1 curve; edge brightening, detector-side lighting and signal-dependent shot noise match the SEM model qualitatively.
44Structured light
structured-light
ATriangulation: stripe index shift ∝ baseline/depth (disparity = b·f/z)
s = (x_px + uBase·uFocus/z)/uPeriod, uBase = 190, uPeriod = 14 px; line = bright where |fract(s) − 0.5| < 0.13 (26% duty), antialiased by fwidth(s)
jump = |uBase·uFocus·(1/z − 1/z′)|/uPeriod  (stripe dimmed at a depth step)
facing = 1/√(1+|∇z/(2·0.0005z)|²);  I = line·(facing²/(0.25+0.75r³) + 0.35·facing⁶), r = z/uFocus;  out = beam·(0.8·I·beamFall + 0.012·facing)
lattice/tiling, reproject-by-depth, physical-law, thresholdStripe warping uses the true 1/z triangulation relation, so stripes bend and jump realistically; the baseline constant and falloff are tuned, and shading is a cheap facing/distance term.
45Vector scope
vector-scope
BDepth/normal-discontinuity edge detection (central and second differences) with Gaussian bloom
dz = max(|z_r−z_l|,|z_u−z_d|)/z; cz = max(|z_r+z_l−2z|,…)/z; ne = smoothstep(0.35,0.8, 2·max|n_r−n_l|,|n_u−n_d|)
edge = max(max(smoothstep(.02,.06,dz), smoothstep(.01,.025,cz)), ne·(1−sky))
bloom = Σ₃₂ edgeFast·exp(−r²/(2·36S²)) / Σw on a hashed spiral of radius 20S; corner = smoothstep(0.55,1.0, max over ring-of-10 triples of min of the three pairwise surf distances), surf = (n, 3ln(z/F))
out = (green·(e + 2·bloom)·0.9 + …)·scanlines·(1 − 1.4r²), lens warp 1+0.12r²
edge-detect, convolve/blur, thresholdStandard depth+normal edge detector with Gaussian bloom and a three-surface corner test; CRT curvature and scan lines are cosmetic.
46Weather radar
weather-radar
BPolar (range–azimuth) binning with a stepped dBZ colour scale
cell = (floor(r/24S), floor((θ+π)/sec)), sec = 0.0436·2^ceil(log₂(0.9·24S/(rc·0.0436))) (halves cell count near centre)
refl = 0.55·L^0.45 + 0.275·(mx−mn)/max(mx,.05) + 0.35·clamp(1 − 0.6z/F, 0,1) − 0.12;  echo = (mean₅ refl − 0.28)·2.1, sky contributes 0
colour = 7-step scale(echo) (thresholds 0.16,0.30,0.44,0.56,0.68,0.80,0.92)·(0.32 + 0.68·exp(−age_c/2.2)), sweep = 2π per 4 s
quantise, lattice/tiling, palette-map, time-integrate, thresholdPolar cell structure and stepped reflectivity scale are faithful in form; reflectivity is made from scene brightness/saturation/nearness, and the sweep only changes brightness (no stored frame).
47E-ink
e-ink
BUniform 4-bit quantisation with a refresh waveform and prior-frame ghost
g = smoothstep(0.06,1, (L^0.4545)²), sharpen g' = clamp(2g − mean₄(g,1.5px),0,1); q = round(15g')/15
at beat k ≥ 1, age: <0.12 s level = 1−q; <0.24 level = 0; <0.36 level = 1; then ghost = exp(−(age−0.36)/1.6)
level = mix(level, level·(0.55+0.45·q_prev), 0.55·ghost), q_prev = 16-level grey of the frame 2.5 s earlier;  out = 2.2·mix(ink, paper, level^1.7)·grain
quantise, beat-envelope, frame-step, time-integrate, noiseExact 16-level quantiser and a real previous-frame ghost; the refresh sequence is a fixed three-phase flash rather than a waveform driven by pixel transitions.
48Photocopy generations
photocopy-generations
BGeneration loss (iterated blur + contrast curve + noise)
gen = beatIdx()+1, gc = min(gen,6); L = lum(blur_{(0.4+0.95gc)S}(C)); g = L^0.4545
v = (g − (0.56 + 0.015gc))·(1.2 + gc) + 0.5 + grain·(0.16+0.05gc);  paper = smoothstep(0.35,0.65,v), toner = 1 − paper
for j ≤ gen: add column streaks (h>0.965), specks (prob 0.0035j), dropouts (0.004j); edge band 6·gc px;  out = 2.2·mix(paper, 0, toner), page shift ang = 0.0016·gc·sin(2.1gc+0.5)
threshold, convolve/blur, noise, beat-envelope, time-integrateEach copy is a closed form of gen, not an actual re-copy of the previous output; contrast gain and blur grow linearly instead of compounding.
49Event camera
event-camera
AEvent-camera contrast-threshold model: event when |Δ ln I| ≥ C
cell = floor(fc/(2S)); d = ln(L₁+0.02) − ln(L₀+0.02), L₁ = lum at t, L₀ = lum at t−0.08 s (camera fixed); C = 0.10
strength = |d|/C;  fire = step(h(cell,⌊90t⌋)·0.9 + 0.1, smoothstep(0.9,3.0,strength))
colour = blue if d>0 else red; plus noise events step(0.9992, h)
threshold, frame-step, noise, palette-map, physical-lawUses the log-intensity contrast-threshold rule on two rendered frames; firing is a stochastic soft threshold on one frame pair instead of asynchronous per-pixel timestamps.
50Pen plotter
pen-plotter
BSerpentine raster hatching with tone thresholds (rows of 5 px at 12°, cross-hatch at 87°)
tone = smoothstep(0.30,0.98, mix(L^0.45, 1, 0.35·clamp(z/(2F) − 0.2,0,1))), sky = 1
rows of spacing sp: m = rowP mod 4 → thr = (0.90, 0.50, 0.72, 0.32)[m]·thrScale; on = 1 − smoothstep(thr−0.03, thr+0.03, tone)
cov = clamp(lw/2 + 0.5 − |dist|,0,1)·on·done; pen runs boustrophedon: penU = ±(−U + 2U·fract(q·N)), q = age/(interval − 0.35)/0.7 (pass 1: 5S px @ 12°; pass 2: 7S px @ 87°, thrScale 0.45, then depth-edge outlines Δz/z in [0.02,0.06])
quantise, threshold, lattice/tiling, beat-envelope, edge-detect, time-integrateFour-level row-density hatching with a correct serpentine pen path and beat-timed reveal; tone-to-density is a threshold ladder, not error diffusion or line-art vectorisation.
51Cel animation
cel-animation
B
material hook: r = Lum(outgoingLight)/Lum(albedo); out = albedo · mix(0.62, 1.12, smoothstep(0.34, 0.37, r))
post: c = mix(L, C, 1.2); shadow s = max_{i=1,2} step(0.045, (d − d(uv + (−1,1)·9i px))/d); c *= 1 − 0.28 s
line = max(smoothstep(0.012,0.03, max_4nb |Δd|/d), 0.9·smoothstep(0.35,0.6, max_4nb(1 − n·n′))); out = mix(c, ink(0.025,0.02,0.035), line); uv jitter ±0.8 px per frame at 12 fps
quantise, threshold, edge-detect, reproject-by-depth, material-hook, frame-stepTwo-tone lighting is a hard step of lit/albedo ratio (standard toon ramp); line and cel shadow come from screen-space depth and normal differences, not real geometry.
52Rubber-hose cartoon
rubber-hose-cartoon
C
g = (clamp(L/(L+0.9)·1.9,0,1))^0.8; g = smoothstep(0.04,0.96, mix(g, floor(4g+0.5)/4, 0.5)); uv += gate weave (±3.5, ±3 px per frame) + value-noise boil (±2.25 px)
line = max(smoothstep(0.012,0.035, max_8 |Δd|/d0), 0.9·smoothstep(0.2,0.4, max_8 |Δtone|)) at radius R = 3 + 1.6·vn; g = mix(g, 0.03, line)
then flicker ±6 %, grain ±0.085, dust cells (70 px, p>0.975), vignette −0.45, iris radius 1.12·smoothstep(clamp(t/0.9)) opening and closing
quantise, edge-detect, noise, frame-step, palette-mapGeneric grey quantise plus outline plus film noise; imitates 1930s look by convention, no cel or film physics.
53Blue pencil test
blue-pencil-test
B
E(uv,R) = max( smoothstep(0.012,0.04, max_8 |Δd|/d0), smoothstep(0.22,0.5, max_8(1 − n0·n)) ), 8 taps at radius R px
rough = max_{k<3} E(uv + off_k + wob_k, 0.9+0.2k) · smoothstep(0.3,0.55, vn) (3 passes, 18 px offset, 14 px wobble, new per frame)
out = paper → mix(blue(0.28,0.55,0.96), rough·0.9) → mix(ink(0.10,0.12,0.19), E(uv+jitter, 1.5)·0.92); peg-hole rounded-box SDFs
edge-detect, noise, frame-stepStandard depth-plus-normal edge detection run three times with noise displacement; no real stroke model.
54Chalk stop-motion
chalk-stop-motion
B
W = max(smoothstep(0.18,0.5, sat), 1 − smoothstep(0.15,0.5, g)) · smoothstep(0.05,0.2, g)  (chalk wanted: saturated or dark areas)
cov = smoothstep(thr, thr+0.12, val), thr = 1 − 0.46 W, val = 0.68·stripes(sin of rotated coords + noise) + 0.14 dust + 0.3 (vn − 0.5) + 0.1
smear = clamp(1.5 · mean_12 W(uv + rotated spiral offset 6..83 px, 0.45 aspect), 0,1) · (1 − W) · streak; outline = max(depth edge, tone edge) · ragged-noise; 8 fps
threshold, convolve/blur, noise, edge-detect, frame-step, palette-mapChalk is a thresholded stripe-plus-noise pattern and the eraser smear is a spiral-tap blur of the same mask; no pigment model.
55Cut-out animation
cut-out-animation
B
g = tone-mapped C, saturated mn + (g − mn)·1.35; ch = floor(5 g/Lg + 0.5)/5; Lq = max(floor(3 Lg + 0.5)/3, 0.2); out = ch·Lq
layer = floor(clamp(d/uFocus, 0.2, 3)·6); fibre noise per layer; shadow = max_{i=1..4} step(0.04, (d0 − d(q + (−0.7,0.8)·4.5 i px))/d0) · (1 − 0.17(i−1)); out *= 1 − 0.45 sh
white cut edge = step(0.04, max_8 (d(q+2 px dir) − d0)/d0) · 0.85; 12 fps jitter 1.1 px
quantise, threshold, reproject-by-depth, edge-detect, noise, frame-stepHue quantised per piece and lightness to three steps; layer shadow is a depth-compare offset, not a light-cast shadow.
56Ink and toon
ink-and-toon
BHalftone screen
Lref = max over 12 golden-angle taps (r = 8..52 px) of L_s where same-surface: |Δd|/d<0.035, n·n_s>0.86, |Δchroma|<0.28; Lref = 2^(round(3 log2 Lref)/3)
t = clamp((0.9 − L/Lref)/0.28, 0,1); dot = smoothstep(rd−0.04, rd+0.04, 0.6√t) on a 45° lattice with period 7 px, solid where t≥0.999; out = mix(chroma·Lref, 0.55,0.52,0.68 · base, dots)
line widths Rs = clamp(2.6·near·brush, 1.4, 6) for depth edges, Rc = clamp(1.3·near·brush, 0.8, 3) for normal edges, near = clamp(uFocus/d0, 0.55, 1.7)
quantise, lattice/tiling, edge-detect, threshold, noise, palette-mapHalftone dot radius ∝ √tone is the correct area-coverage rule; the lit reference level is estimated by a 12-tap neighbourhood max, not from lighting.
57Manga impact
manga-impact
BHalftone screen
tone g = (clamp(L/(L+0.9)·1.9,0,1))^0.6; ink = clamp((0.9 − g)/0.8, 0,1); dot = smoothstep(rd−0.07, rd+0.07, 0.58√ink), 45° lattice period 7 px; solid at ink>0.82..0.92
line = max(smoothstep(0.012,0.035, depth edge), 0.85·smoothstep(0.2,0.4, tone edge)), R = 1.7 + 0.8 vn
beat: N = 120 radial spokes in angle a; width w = (0.25+0.6h1)·smoothstep(r0, r0+0.5, r); m = step(|f−0.5|, 0.5 w)·step(r0, r)·fade(1 − smoothstep(0.3,0.55, age)); col = 1 − 0.96 col for age<0.06
lattice/tiling, threshold, edge-detect, beat-envelope, noiseDot radius ∝ √ink (area coverage) on a 45° screen; speed lines are hashed polar spokes with an age envelope.
58Flipbook
flipbook
C
pencil(uv) = max(0.95·smoothstep(0.07,0.2, max_4(|Δtone| + 0.5|Δ(C/(L+0.08))|)), max(0.55·hatch1, 0.5·hatch2))·grain; hatch lines on x+y and x−y, period 5 px, density smoothstep(0.62,0.2,g)·0.75 and smoothstep(0.3,0.1,g)·0.8
page curl front fp = 1.12 − 1.2·fract(2·uRealT) crossing every 0.5 s; u = x + 0.2(y−0.5); flap cyl = 0.72 + 0.34 sin(π·roll), roll = clamp((u−fp)/0.05); below page = pencil(uv + (22,−14) px, fi+1)·0.16
8 fps hand offset ±2.5 px
edge-detect, lattice/tiling, noise, frame-stepEdge plus two-angle hatch is a generic pencil imitation; the page curl is a drawn cylinder shading profile, not a bending-paper model.
59Scratch on film
scratch-on-film
C
edge = smoothstep(0.012,0.035, max_8 |Δd|/d0) · smoothstep(0.15,0.3, vn); hatch = step(tri(p.x/4.6 + 0.8 vn), 0.22·nearN) · smoothstep(0.62 − 0.45 nearN, 0.7 − 0.45 nearN, seg), nearN = 1 − smoothstep(0.7,1.3, d/uFocus)
sc = max(edge, 0.8 hatch); col = mix(0.018 + dye·0.33, 0.97 or dye, sc); dye blobs: 150 px cells, p>0.62, radius 18..58 px
12 fps jump 4.5 px; sprocket strips 96 px wide, pitch 76 px, hole rounded-box 34×44, scroll 38 px per frame
edge-detect, threshold, noise, frame-stepDepth edges drawn as white scratches on black; scratch/dye/sprocket are noise and SDF decoration, no film physics.
60Wax crayon
wax-crayon
B
2 passes k: strokes on rotated lattice (angle 0.62 + 0.62k rad), width W = 5+k px, length Ls = 46 px, centre sampled from C at stroke centre + ±17 px random; body = across·along (smoothsteps)
wax = body · smoothstep(0.7 − 0.5·press, 0.86 − 0.5·press, tooth); tooth = 0.55 vn(0.95 fc) + 0.3 vn(0.31 fc) + 0.15 vn(2.1 fc); col = mix(col, g, wax·bare·(0.95 or 0.6)), bare = smoothstep(0.995,0.9, L)
outline: smoothstep(0.015,0.04, max_8 |Δd|/d0 at 2.6 px) · smoothstep(0.52,0.62, tooth+0.3 vn) → colour (0.2,0.13,0.12); 12 fps
lattice/tiling, noise, threshold, edge-detect, frame-step, palette-mapPer-stroke colour sampled from the scene with a paper-tooth threshold; a tooth-versus-pressure test is the correct qualitative mechanism, not a wax model.
61Woodblock print
woodblock-print
BPosterisation and block registration
c0 = edge-aware blur (16 taps, w = exp(−9|Δc|)) at uv + (1.6,−1.4)·sc px; g = c0^(1/2.2); g = floor(5g + 0.5)/5; g = mix(Lum, g, 1.4); fill = g^2.2
bokashi gradient: bok = smoothstep-smooth(1 − td/90 sc), td = distance upward to the first colour/depth jump (≤15 steps of 6 px); fill *= mix(1, (0.50,0.58,0.78), 0.85 bok)
key line = max(smoothstep(0.02,0.05, depth edge), smoothstep(0.30,0.55, normal edge), 0.85·smoothstep(0.22,0.42, colour edge)); out = mix(paper·fibre, fill, cover); mix(col, 0.045, 0.93·line)
quantise, convolve/blur, edge-detect, threshold, noise, palette-mapPosterise in gamma space at 5 levels per channel with a bilateral blur, plus fixed 2 px plate offsets; no real multi-block colour separation.
62One-bit dither
one-bit-dither
ABayer ordered dither
cell = floor(fc/P), P = round(6·uRes.y/720); bayer8(cell) = (16 b2(p) + 4 b2(p/2) + b2(p/4) + 0.5)/64, b2 = 2×2 Bayer index {0,3,2,1}
mode 0: tone = smoothstep(0.1,0.62, Lum_linear(cell colour)) + 0.06·far; on = step(bayer8, tone); out = mix(ink, paper, on)
mode 1: g3 = (1.15 C)^0.4545 + 0.22·(bayer8 − 0.5); out = nearest of 16-colour palette (min |g3 − p_i|²), dark 1-cell outline where Δz/z > 0.035
quantise, threshold, lattice/tiling, palette-map, edge-detect, frame-stepExact 8×8 Bayer threshold matrix over a P-pixel cell grid; the tone ramp is a smoothstep on linear luminance and the palette mode adds noise-offset nearest-colour matching.
63Spray stencil
spray-stencil
B
3 stencil masks m_j = mean of 13 taps of step(tone, thr_j), thr = 1.1, 0.86, 0.60 and radii 4, 6, 3 px; c_j = smoothstep(0.45,0.62, m_j + (hash − 0.5)·0.55) (speckle overspray)
layers pale (c1·0.93) → colour paint, 3-level posterised, saturate 1.9 (c2·0.95) → black (max(c3, run)·0.96) over a procedural wall
drips: columns 3 px wide, p>0.92, length 20..90 px; run = scan up to 22 steps to find a pixel with tone<0.60
threshold, quantise, convolve/blur, noise, palette-mapThree luminance-threshold masks softened by a disc blur plus hash speckle; stencil layering is a convention, no paint spray physics.
64Torn-paper collage
torn-paper-collage
B
piece(u) = (floor(5·(1/2.2 gamma of saturated 5-tap C))/5, depth); differ = |Δrgb|>0.05 or |Δd|/min(d)>0.06; above(a,b) = nearer piece wins, else hash(a)>hash(b)
u = uv + fbm warp (9 px) + noise (3 px); fibre = max over 8 dirs × 2 radii (Rf = 2.4..5.4 px) of [differ ∧ above(me, nb)]; col = mix(piece·tone, paper white·1.5, fibre)
shadow: taps at (−2.6,2.6)·k px, k = 1,2 where a nearer piece lies; col *= 1 − 0.38 sh
quantise, edge-detect, reproject-by-depth, noise, palette-mapPieces are posterised colour regions; torn edges come from warping the lookup by fbm and a hash-based layer order, not from a segmentation.
65Photomontage
photomontage
CHalftone screen
layer = 0 if d/uFocus < 0.96, 1 if < 1.12, else 2 (sky = 2); u = uv + zig-zag scissor offset (tri waves, ±2.2 px)
layer 0: 45° halftone, cell 5.5 px, radius = 0.72√(1 − tone_gamma); layer 1: 4-level posterised flat colour; layer 2: newsprint glyph cells 3.6×7.5 px, on-probability mix(0.82,0.22, tone)
white edge where a farther layer lies within 2.6 px (×0.92); shadow from nearer layer at (−3.2,3.2) k px
threshold, quantise, lattice/tiling, reproject-by-depth, edge-detect, noiseThree depth bands each get a different generic renderer; halftone area coverage is right, the cut/newsprint look is convention.
66Paper marbling
paper-marbling
BComb displacement (sinusoidal)
off = (−s·dy, c·dy) + swirl; dy = A·amp·[sin(2π p.x/S + bend) + 0.5 sin(4π p.x/S − 1.5 bend)], S = 46..86 px, A = S(0.15..0.2), p = coords rotated by comb angle θ, bend = 1.8 sin(p.y/95 + 6ha)
amp = smoothstep(0,0.25, age)·(1 − smoothstep(0.3,1.1, age)), smoothstepped; u = uv + off; col = lev(C(u)) (6-level posterise); veins where level differs between neighbours
thin = 0.25·amp·smoothstep(0.1,0.9,|off|/20) toward paper; 1.35 saturation
reproject-by-depth, quantise, beat-envelope, noise, edge-detectA sinusoidal warp of the scene lookup with a beat envelope mimics comb drag; it is a displacement field, not fluid advection.
67Quilling
quilling
BArchimedean spiral coil on hex lattice
hex cells radius R = 17 px (offsets s = (2R, 1.732R)); gv = nearest centre offset; r = |gv|, θ = atan2; sp = fract(r/4.8 − θ/2π + 3h(ctr)); strip = smoothstep(0,0.1, sp)·(1 − smoothstep(0.58,0.68, sp)); coil = strip·(1 − smoothstep(0.9R, 0.98R, r))
col = mix(0.16·cc, cc·(1.12 − 0.3 sp/0.62), coil), cc = saturated 5-tap C at cell centre; strip outlines E = max_8(max(smoothstep depth edge, smoothstep colour edge)) at 2.2 px, drop shadow at (−2.4,2.4) px
lattice/tiling, edge-detect, threshold, palette-mapSpiral phase r/pitch − θ/2π is an exact Archimedean spiral per hex cell; outlines are screen-space edge strips.
68Wax rubbing
wax-rubbing
B
relief proxies from depth: rLocal = clamp(18(mean_12 d(r=11) − d)/d), rLarge = clamp(12(…r=48)), rHuge = clamp(8(…r=70)), nearF from far-neighbour counts at r = 45, 95, 140 px; edge = max(smoothstep(0.25,0.55, 1 − n·n′), smoothstep(0.02,0.05, Δd/d))
cov = clamp(0.8 edge + 0.55 rLocal + 0.5 rLarge + 0.15 rHuge + 0.8 nearF)·(1 − sky); density = cov·pressure·(0.15 + 1.25 streak) − 0.3(1 − grain); wax = smoothstep(0.15,0.45, density)
streak = noise stretched along direction (1,0.45); col = mix(paper·2, (0.20,0.025,0.06), 0.94 wax)
edge-detect, convolve/blur, reproject-by-depth, noise, thresholdRaised-ness is estimated from ring-averaged depth differences (a screen-space curvature/occlusion proxy); streaks are anisotropic noise.
69Blueprint
blueprint
BTechnical-drawing line weights (cyanotype convention)
de = max_8 |z(uv+2.2 dir) − z|/min(z); ne = max_8(1 − n·n(uv+1.3 dir)); heavy = smoothstep(0.025,0.06, de); thin = smoothstep(0.3,0.6, ne)(1 − heavy)
col = mix(blue(0.012,0.075,0.27)·fibre·(1 − 0.9 crease + shade), white, grid); grid = 0.13 minor (24 px) + 0.2 major (120 px); fold creases at x = 0.25, 0.5, 0.75 and y = 0.5
out = mix(col, white, thin·0.85·wob), then heavy; line ln(f,w) = clamp(w/2 + 0.5 − |f|, 0,1)
edge-detect, threshold, lattice/tiling, palette-map, noiseSilhouette versus crease line weights from depth and normal jumps; the cyanotype chemistry is not modelled.
70Crumpled print
crumpled-print
BVoronoi / Worley F2−F1 creases
for each beat i: u = uCanon − t_i; amt = smoothstep(−1.1,−0.25,u)(1 − smoothstep(0,1,u)); vis = max(amt, 0.42·smoothstep(−0.4,0,u)) (creases persist)
2 octaves (cell 120 and 58 px): Worley with 3×3 search, edge = √F2 − √F1; crease = max(1 − smoothstep(0,0.035, edge))·vis·w; scuff = smoothstep band 0.035..0.12; shade += dot(cell tilt, (−0.6,0.8))·0.7 amt
warp wv = (fbm − 0.5)·60 px·act, zoom 1 − 0.06 act; col = C·paper; col *= 0.32 on crease (×0.8)
voronoi, beat-envelope, noise, reproject-by-depthWorley F2−F1 cell borders are exact Voronoi ridge distance; crease persistence is a hand-set envelope, not a fold or mechanics model.
71Needle felt
needle-felt
C
c = depth-aware 9-tap blur (w = exp(−|Δd|/(0.03 d0)), radius 2.3 px); 3 fibre layers, cells cs = 4, 7, 11 px, lengths 6, 10, 15 px, random direction, tapered width mix(0.62,0.22,t)·cs/5
if the fibre root colour lies on a nearer surface (z_root < 0.97 d0): out = mix(out, C(root)·(0.88 + 0.3 h), cov·0.95) (fibres reach over edges); else tone *= mix(1, 0.78+0.5h, cov·k)
AO = 1 − 0.2 mean_6 clamp(10(d0 − d_s)/d0), rim = (1 − n.z)^2.2 · 0.1; tone-compress c/(1 + 0.32 max(c − 0.45, 0))
convolve/blur, lattice/tiling, noise, reproject-by-depth, palette-mapFibre sprites hashed per grid cell that pull colour from their root; no fibre simulation or subsurface scattering.
72Loom weave
loom-weave
BPlain/twill weave pattern
cell CW = 6 px; warpOver(i,j) = [ (i + 3j) mod 5 < 1 ] (5-harness satin-like float); weft = C(cell centre)·(0.55 + 0.6 √(1 − (2q.y−1)²))·dive; warp = mix(cream, C, 0.55)·0.85·(0.55 + 0.6 √(1 − (2q.x−1)²))
woven where cell.y ≤ edge(t) (rises with beat age/1.6 s, smoothstep eased); shuttle at x = fract(9·prog) alternating direction, beam bar of 10 px at the woven edge
col = mix(bare, thread, woven)
lattice/tiling, beat-envelope, threshold, palette-mapA true floating-thread interlacing rule per cell with cylinder shading; the picture appears row by row with a hand-set eased front.
73Patchwork quilt
patchwork-quilt
BVoronoi (feature-weighted)
patch seeds on a 92 px jittered grid; score s = |fc − sp|/CS + 1.6|c0 − c_seed| + 1.2|ln d0 − ln d_seed|; nearest s1, second s2; gap = s2 − s1
fill = mix(depth-aware blur, c_seed, 0.35) saturated 1.45; print mask by type = floor(6h): none, polka (r 0.2..0.26), stripes, gingham, crosses, diamonds, scale ps = 11..20 px; ink = 0.55×base (L>0.5) or light
pad = 0.7 + 0.5 smoothstep(0,0.5, gap); valley −0.3; stitch = dash(period 13 px, duty 0.64)·line at gap = 0.105
voronoi, lattice/tiling, palette-map, noise, thresholdVoronoi with a colour-and-depth-augmented distance for patch ownership; stitch and print are procedural patterns tied to the seam gap.
74Mosaic
mosaic
BEdge-following row layout (distance-to-contour tiling)
d = distance to nearest colour/depth discontinuity (ring search r = 3 + 0.9 ri², 12 dirs, then 4-step bisection), differs: |Δ ln(d/uFocus)| > 0.1 or |Δ gamma colour| > 0.4
rows follow the edge: rowI = floor(d/9), tile length 10.2 px along tangent t, random offset per row; tile colour sampled at tile centre; tile = rounded-box SDF with random shrink, grout colour 0.07 + 0.07 c0
16 % of tiles gold: col = gold·(0.5 + 0.55 L + 0.2 bev) + 3.5·pow(max(n_f·H, 0), 12), H = normalize(light − camera forward), n_f random facet normal
edge-detect, lattice/tiling, palette-map, noise, material-hookTile rows follow a distance-from-edge estimate (approximate distance field); gold glints use a Blinn-Phong specular on random facet normals tied to the camera.
75Flip sequins
flip-sequins
BHexagonal lattice with flip animation
hex lattice pitch D = 9 px, row height 0.866 D; disc colour = 6-tap mean of C at the cell centre; wave coordinate s = projection of cell position on a random direction, normalised to [0,1]
tau = smoothstep((age − 1.1 s − 0.06 h)/0.32 clamped); θ = π tau; face = old for θ<π/2 else new; apparent width cw = max(|cos θ|, 0.22); inside = 1 − smoothstep(0.92,1.0, |(lp.x/cw, lp.y)|)
colour face = saturated 1.4×; reverse face = silver map of L; glint at (−0.35,0.35), edge-on sheen sin²θ; centre hole −0.8; backing 0.07 + 0.1·C
lattice/tiling, beat-envelope, palette-map, thresholdHex tiling and cos θ foreshortening of a flipping disc are geometrically exact; the face colours are the scene lookup and the reverse is a fixed silver tone map.
76Marquetry
marquetry
B
s = argmin_i[ 2·|chroma(c̄)−chroma(wood_i)|² + 0.25·(L(c̄)−L(wood_i))² ] over 10 woods, c̄ = mean of 7 taps (centre + 6 at 4 px) in gamma space
grain dir d = normalize(tangent (−n.y, n.x)), blended to a default angle 0.4+2.6·h(s) by smoothstep(0.06,0.4,|t|); u = f·d, v = f·d⊥
ring = |sin(π(v/rs + warp))|^5, rs = 6+4h(s), warp = 2.2·vn(0.012u,0.02v)+0.6·vn(0.05u,0.09v); wc = wood_s·(1−0.28·ring·(0.6+0.8(1−L_w)))·(0.88+0.22·streak)·(1−0.18·pore)
shade = 0.72+0.4·max(n·l,0), l=(−0.4,0.6,0.7)n; saw cut = max over 4 taps at 2 px of [species change | smoothstep(0.3,0.6,1−n·n') | smoothstep(0.0004,0.002,|Δz|)], mix toward (0.06,0.04,0.03) by 0.7; gloss 0.12·max(n·H,0)^30
palette-map, quantise, edge-detect, convolve/blur, noiseNearest-neighbour palette of 10 fixed woods with sine growth rings along a normal-derived direction; ring warp and pores are value noise, no real wood model.
77Cloisonné
cloisonne
B
edge(s) = |log(z_s/F) − log(z_0/F)| > 0.08 ∨ |g_s − g_0| > 0.28 ∨ |Q5(L_s) − Q5(L_0)| > 0.3, Q5(L) = ⌊5L+0.5⌋/5; wire core = any of 8 taps at 1.5 px hit, side = any at 3.1 px
dist = Σ_{5 rings r=3+3.4i} dr·(1 − min(1, hits/2)) (distance-to-wire estimate by ray taps); dome = smoothstep(0,17,dist)
enamel e = bilateral mean (6 taps at 4 px, w = exp(−14|Δlog z|)·exp(−6|Δg|)), e ← (L + 2(e−L))·(0.6·Q5(L)/L+0.4)·0.62; col = e·(0.62+0.55·dome)·(1+0.35·men·facing) + 0.28·glint
band = exp(−((s − pos)/0.11)²), s = (uv·(aspect,1))·(1,0.55)/|(1,0.55)|, pos = fract(uRealT/5.5)·span − 0.3; out = mix(col, gold, core) with gold = (1,0.76,0.28)
edge-detect, quantise, convolve/blur, palette-map, time-integrateEdge test on colour, log-depth and 5-step tone drives a gold line; the dome is a ray-tap distance estimate, not a real cell distance transform.
78Tufted rug
tufted-rug
B
hex lattice D = 5.2 px, row height 0.866·D, odd rows offset D/2: nearest centre bc of 3 rows × 2 columns; tuft colour = c(bc) if |z_bc − z|<0.04z, else c(uv)
pile h = max(clamp(0.5 − 3·log2(z/F),0,1), clamp(0.35 + 10·(z_far − z)/z, 0,1)), z_far = max over 4 taps at 12 px
r = |(f−bc)/(D/2) − lean|, lean = (0.18,−0.18)(0.4+0.8h)(0.6+0.8hr); cover = 1 − smoothstep(mix(0.9,0.66,h), mix(1.2,0.98,h), r); dome = √(1 − 0.8r²); col = tc·(0.55 + 0.5·dome + (0.25+h)·0.5·(lit−0.5))
gap = tc·mix(0.55,0.1,h); col = mix(gap, col, cover); step walls: ×(1+0.8·hiU), ×(1−0.65·hiD), shadow ×(1−0.38·sh), hiU = clamp((z_U − z)/z/0.015,0,1) with taps at 4 px toward (−1,1)/√2
lattice/tiling, palette-map, edge-detect, reproject-by-depthStaggered hex lattice of round tufts with depth-set relief; relief shading is a heuristic dome and depth-step lighting, not a height-field render.
79Punched-tin lantern
punched-tin-lantern
B
two jittered lattices: pitch 4.3 px (mode 0) with hole radius r = 1.25 where an edge (|Δlog z|>0.08 ∨ |Δg|>0.26 within 2.2 px) exists at the lattice point; pitch 7.4 px (mode 1) with r = mix(0.7,1.9, smoothstep(0.76,1.0,L)) only if L > 0.76
hole = max_{9 nearest pts} [1 − smoothstep(r−0.5, r+0.5, |f−cp|)], glow = Σ exp(−d²/(4r²+4))·(0.35+0.15r), ring = burr at |d − r − 0.9|<0.9
col = tin(0.04·(0.7+0.8·ham) + 0.2·c²) + ring burr + warm(1,0.58,0.2)·0.4·min(glow,1.2)·(1−hole); col = mix(col, (1,0.78,0.4)·1.5, hole)
lattice/tiling, threshold, edge-detect, palette-mapBrightness-sized hole lattice is amplitude-modulated halftone; the edge lattice is a sampled edge map, glow is a Gaussian sum not real transmitted light.
80Soft clay
soft-clay
BBump mapping by screen-space height derivative (Mikkelsen perturbNormalArb form)
material hook (MeshStandard): roughness = 0.7, metalness = 0, clearcoat = sheen = 0; albedo ← L + 1.4(albedo − L), L = dot(albedo,(0.2126,0.7152,0.0722))
vertex: p += (0.022·lump(cp) + 0.012·boil(cp, φ))/s, cp = position·s, φ = 2.17·⌊12·t⌋, lump and boil = products/sums of sines of cp
height H(p) = −0.03·smoothstep(0.58,0.8,N(3.1p+7)) + 0.0035·sin(70·N(5.5p))·smoothstep(0.45,0.65,N(1.9p+3)) + 0.0018·N(38p); normal ← normalize(|det|·n − sign(det)(H_x·(sy×n) + H_y·(n×sx)))
post = identity; fps = 12 (frame-step 12 Hz)
material-hook, frame-step, noise, time-integrateReal PBR lighting with analytic bump normal from 3D value noise (derivative bump mapping); fingerprint whorl is sin of noise, not a ridge field.
81Persian miniature
persian-miniature
C
sky = max(depth=far, smoothstep(2.0,2.4, z/F)); chroma = g/L, val = mix(0.6, L, 0.25 + 0.65·(1 − smoothstep(0.05,0.3,sat))); f = Q5( mix(1, chroma, 1.7)·val ) with Q5(x) = ⌊5x+0.5⌋/5, grey → ×(1,0.93,0.78)
motif kind = ⌊4·h(key)⌋, key = Σ ⌊3f⌋·(1,3,9); 24 px staggered cell; pc = f·(0.62,0.58,0.55) if L>0.55 else mix(f,(1,0.9,0.6),0.6)
line = max(smoothstep(0.02,0.05, max|Δz|/z), 0.8·smoothstep(0.1,0.25, max|Δc|)) over 4 taps at 1.4 px → ink (0.1,0.05,0.04)·0.92; sky = gold (0.9,0.64,0.17)↔(1,0.82,0.38) by fbm + cloud curls; border 5.5 % of height: gold, cream, lapis+rosettes, cream, red, gold
quantise, palette-map, edge-detect, lattice/tiling, noiseGeneric posterise, outline, motif tiling and a procedural border imitate the tradition; no gouache or pigment model.
82Illuminated manuscript
illuminated-manuscript
C
colour = hue-class palette: satn<0.2 → vellum tones by L (0.72, 0.38); else 7 hue bins on h = atan2(√3(g−b), 2r−g−b)/2π (red <0.04, orange <0.12, gold <0.2, green <0.45, blue <0.7, purple <0.85, rose); goldArea = sky ∨ (yellow ∧ L>0.55 ∧ satn>0.45)
gold leaf 36 px squares: fl = clamp( [0.5+0.5·sin(2.4·uTime + φ)]^5·(0.3+0.7h) + exp(−3.5·beatAge)·(0.5+0.5h)·1.1, 0,1 ); line = max(smoothstep(0.02,0.05,Δz/z), 0.85·smoothstep(0.12,0.3,Δc))
vine border width 0.075·H: arc length s along the border loop, stem width at t = tw(s), grown to s_g = (Lp/N)·growth, growth = k + 1 − (1 − clamp(age/0.9,0,1))², leaf opens after the stem passes it
palette-map, threshold, edge-detect, beat-envelope, lattice/tilingHue-bin palette, gold squares and a beat-driven vine imitate the convention; no pigment or leaf optics.
83Greek black-figure
greek-black-figure
C
figure f = (1 − smoothstep(1.2,1.5, z/F))·(1 − step(0.93, n_y)), background depth → 0; col = mix(clay, slip, f); clay = mix((0.88,0.47,0.22),(0.8,0.38,0.16), fbm)·(1 − 0.25·|2u−1|³)
incision = max( contour ring f4·(1−f6) (taps at 4.5 and 6.5 px), 0.03–0.06 step on Δz/z, 0.3–0.5 step on 1−n·n', colour step 0.1–0.25 ) gated by all 8 taps inside the figure
hatch = smoothstep(0.2,0,|fract((x+y)/(5sc)) − 0.5| − 0.34)·smoothstep(0.25,−0.1, n·l)·fbm-mask, l = (0.5,0.7,0.5)n; col = mix(col, 1.05·clay, max(inc, 0.9·hatch))
threshold, edge-detect, palette-map, noiseTwo-colour depth and normal threshold with outline and hatching; imitates the vase look without any ceramic model.
84Batik
batik
BVoronoi F2−F1 cell-edge distance
class k = 0 (indigo) if (blue ∧ L<0.8) ∨ L<0.5, 1 (soga) if L<0.78, else 2 (turmeric), L = lum(g) + 0.14·(fbm−0.5); lookup moved by wob = 6 px·(fbm−0.5)
wax = max_{8 taps at 2.6 px}[ class change ∨ smoothstep(0.03,0.06,|Δz|/z) ]·mix(0.55,1, smoothstep(0.12,0.35, vn)); col = mix(dye_k·(0.8+0.4fbm), cloth(0.95,0.91,0.8), max(wax, 0.9·dots))
crack(p) = √d2 − √d1 (nearest minus second-nearest jittered feature point, 3×3 search); vein = max(smoothstep(0.1,0,crack(wp/64)), 0.5·smoothstep(0.14,0,crack(wp/26+3)))·(0.5+0.5h) with wp domain-warped by 30 px fbm; col = mix(col, vc, 0.6·vein)
quantise, threshold, edge-detect, voronoi, noise, palette-mapThe Voronoi crack formula d2−d1 is exact, but the dye classes and wax line are a 3-colour tone threshold and an edge test.
85Papel picado
papel-picado
C
5 rows (pitch P = H/4.8) of flags, width 0.92P, height 0.8P, staggered by X/2; wind shift sh(v) = fw·[(0.1·sin(1.6t+φ) + 0.05·sin(3.1t+2.3φ))·v + 0.025·sin(7v − 4.5t + φ)·v]
coverage cov = (1−sky)·smoothstep(1.6,0.9, z/F)·clamp(tone^1.2·0.5 + (L−0.45)·1.8 + 0.25, 0,1), tone = 0.5+0.5·(n_depth·l) with n_depth from the depth gradient (3 × slope)
hole = smoothstep(0.02,−0.03, |fract(lc) − 0.5| − 0.47·√cov) on a 6 px staggered grid fixed to the flag; hole = max(hole, smoothstep(0.03,0.07,depth edge), punched border ring); col = mix(paper_k, backlight, hole), backlight = mix((1,0.82,0.52),(0.58,0.78,1), y)
lattice/tiling, threshold, edge-detect, time-integrate, palette-mapHole radius follows 0.47·√coverage on a regular grid, an amplitude-modulated halftone on swaying flags; the paper has no thickness or light model.
86Blue-and-white porcelain
blue-and-white-porcelain
BBeer–Lambert-style cover (1 − e^{−k·density})
D = 0.4·dark(uv) + 0.075·Σ_{8 taps at 2.2 px} dark, dark = clamp((0.84 − L)·2.2 + 0.3·sat, 0,1)
layer_k(p) = smoothstep(thr_k+rag−0.05, thr_k+rag+0.05, D)·gap, strokes 14 px wide at angles (0.55, 2.0, −0.85) rad, thr = (0.16, 0.4, 0.66); dens = 0.34·Σ_k layer_k + pool + 0.8·line
cover = 1 − exp(−2.6·dens); blue = mix(light(0.42,0.56,0.9), cob(0.07,0.17,0.62), smoothstep(0.2,0.85,dens)) then → cobDeep by smoothstep(0.9,1.7,dens); col = mix(glaze, blue, cover) + window and Blinn-Phong glint (dot(n,H))^90 from a depth-gradient normal
threshold, quantise, edge-detect, convolve/blur, noise, palette-mapCover uses the Beer–Lambert form but density is a sum of three stroke thresholds of scene darkness, not pigment thickness.
87Gold lacquer
gold-lacquer
BBlinn–Phong half-vector specular on random microfacet normals
dens = max( min(smoothstep(0.42,0.98,L)·0.6 + smoothstep(0.9,1,L)·0.4, 0.2)·(0.45+0.55·depthEdge), 1.1·line ), line = max(smoothstep(0.1,0.25,Δc), smoothstep(0.3,0.55, 1−n·n')) over 4 taps at 1.5 px
grains in world cells gs = 0.0026·F: gi = ⌊P/gs⌋, present = [h(gi) < 1.15·dens]; facet normal ng = normalize(0.35·N_w + 4·(rand−0.5))
H = normalize(l + V), l = (−0.45,0.7,0.55)n, V = normalize(camPos − P); spec = 0.55·max(ng·H,0)^40; gold = (1,0.6,0.15)·(0.3+0.32h) → (1,0.9,0.62)·1.8 by clamp(4·spec,0,1); col = mix(lacquer≈0.012, gold, coverage)
threshold, lattice/tiling, noise, physical-lawReal half-vector specular lobe on per-grain random normals, anchored in world space, so glints change with the camera; the facet orientation distribution is ad hoc.
88Sand mandala
sand-mandala
B
polar rings: rn = r/R·P, ring index ri = ⌊rn⌋, P = beat count, R = half frame diagonal; ring k poured when ri < k, ri = k poured for turn ≤ clamp(age/1.4,0,1), turn = fract(atan2(dy,dx)/2π + 0.25)
line pitch 4.5 px: li = ⌊r/(4.5sc)⌋, cov = smoothstep(0.1,0,|fract(r/lp) − 0.5| − 0.5w − wob), w = 0.55+0.3h(li); colour = Q4( L + 1.5(g−L) ), g = scene colour at the line centre point along the same ray, Q4(x) = ⌊4x+0.5⌋/4
grain cell 1.3 px, sand = g·(0.78+0.45h); white edge and 8 spokes, spoke distance = |fract(8·turn+0.5)−0.5|·r·2π/8; pour head = smoothstep(14,0,dh)·step(0,dh)
lattice/tiling, quantise, beat-envelope, time-integrate, palette-mapExact polar ring and spoke geometry sampling the scene colour along rays; the pour is a beat-timed angular sweep, not a granular simulation.
89Cave wall by torchlight
cave-wall-by-torchlight
BLambert diffuse with point-light attenuation 1/(1+(d/r)²)
height h = 0.55·fbm(0.012p) + 0.3·fbm(0.05p+4) + 0.15·vn(0.2p+9) + 0.12·(1 − 0.5·clamp(z/F,0,2)); n = normalize(−9·∂h/∂x, −9·∂h/∂y, 1) by 1.5 px finite differences
pigment: charcoal mask = max(smoothstep(0.42,0.22,L), line), ochre mask = smoothstep(0.2,0.42,sat)·(1 − charcoal), ochre = mix((0.7,0.5,0.18),(0.62,0.2,0.09), smoothstep(−0.05,0.25, g_r−g_b)); coverage gated by tooth = 0.5 + 1.1(vn−0.5) + 0.5(0.5−h)
light at fp(t) = res·(0.5+0.28·sin(0.45t), 0.55+0.12·sin(0.7t+1)), L⃗ = (fp − fc, 0.18·H); col = alb·(1,0.6,0.24)·(0.05 + 2.3·max(n·L̂,0)·flick/(1 + (|L⃗|/0.5H)²)), flick = 0.92 + 0.1·vn(2.5t)
noise, edge-detect, threshold, physical-law, time-integrate, palette-mapLambert shading from a height-gradient normal with a moving point light; attenuation is 1/(1+(d/r)²) rather than 1/d², and there is no shadowing.
90Gold-leaf folding screen
gold-leaf-folding-screen
C
6 panels, pw = W/6; fold triangle tri = |fract(f/2)·2 − 1|, picture shift dxs = 0.04·pw·(tri − 0.5); fold shading ×(1 − 0.3·e^{−(fd/9)²}) at valleys, ×(1 + 0.1·e^{−(fd/9)²} − 0.1·e^{−(fd/1.5)²}) at ridges
gold leaf 40 px squares: gold = mix((0.84,0.58,0.17),(0.96,0.74,0.28), h)·(0.88+0.22h')·(1 − 0.28·seam + 0.18·lift)
mineral = 6-colour hue-bin palette (azurite, malachite, cinnabar, ochre, shell white, sumi), paint = (1−sky)·mix(0.96,0.8, grain>0.88); cloud band mask b = smoothstep(w, w−0.006, |z − c + billow|), z = log2(d/F), (c,w) = (0.42,0.1) and (−0.5,0.07)
lattice/tiling, palette-map, threshold, edge-detect, noiseSquare tiling, hue-bin palette and log-depth bands imitate the screen; no metal-leaf reflectance model.
91Faceted multi-view
faceted-multi-view
BParallax reprojection by depth (log-depth parallax, fixed-point iterate)
jittered Voronoi cells (130 px at 1080p, jitter 0.85) in screen space; cell id = nearest feature point, d2−d1 = edge distance
per-facet offset o = (cos a, sin a)·r·0.07·(H/W,1), a = 2π·h1 + 0.5·sin(0.6·uRealT + 6h2), r = (0.55+0.45h2)(0.8+0.2·sin(0.9·uRealT + 2π·h3))
q₀ = uv; q_{i+1} = clamp(uv + o·par(q_i)), 3 iterations, par(q) = clamp(2.4·log2(F/z(q)), −1.2, 1.6), sky z = 4F; c = tex(q)·(1 + 0.16(h−0.5)); edge: ×0.25 where (d2−d1)·130sc < 0.6–1.8 px
voronoi, reproject-by-depth, time-integrate, lattice/tilingOffset scales with log(F/z), not the true 1/z parallax of a shifted pinhole camera, and disocclusion holes are not filled.
92Motion echoes
motion-echoes
B
kit mode echo: renders at t and at 6 earlier times in [t − 2.0, t] with the camera fixed at its pose at t; from earlier render i keep pixel p only if z_i(p) < z_live(p)
tColor.rgb = Σ_i keep_i·c_i, tColor.a = Σ_i keep_i; k = a/(n_x−1); E = rgb/max(a,0.001)
out = mix(C_live, E, 0.5·smoothstep(0, 0.35, k))
time-integrate, reproject-by-depth, thresholdDepth-tested compositing of earlier exposures at up to 50 % strength over the live frame; the 6 samples are discrete, so fast motion shows separate copies.
93Dazzle stripes
dazzle-stripes
B
N_q = argmax_{d ∈ 26 directions (cube axes + diagonals)} d·N; S = normalize(N_q × A), A = normalize(0.31,0.83,0.47), rotated about N_q by 0.7·⌊3·h(plane index)⌋ with plane index ⌊(P·N_q)/(0.1F)⌋
f = (P·S)/(0.034·F) + 7·h(N_q); duty = clamp(0.5 − 0.2·(N_q·l), 0.25, 0.75), l = (0.4,0.8,0.5)n; black = clamp((duty/2 − |fract(f) − 0.5|)/fw + 0.5, 0,1), fw = clamp(1.2·fwidth(f), 0.001, 1)
black ← mix(black, duty, smoothstep(0.4,0.9,fw)); outline = max(smoothstep(0.015,0.04,Δz/z), smoothstep(0.3,0.6, 1−N·N')) at 2.5 px; out = 2.2·(1 − max(black, line)), background 2.2
quantise, threshold, edge-detect, lattice/tilingExact world-anchored solid-texture stripes (slices of P·S) with analytic antialiasing; surface directions are quantised to 26 bins and light only sets the duty cycle.
94Signal glitch
signal-glitch
C
grid 16 × 9; per beat k: broken = [h(id,k) < 0.42], repair time tr = 0.04 + 0.9·rank, R = smoothstep(0.28·span, 0.9·span, age), repaired = [tr ≤ R], bad = broken·(1 − repaired)·smoothstep(0,0.1,age)
bad block: q.x += 0.08·(h(row,tick) − 0.5) with row = ⌊180y⌋, tick = ⌊12·uRealT⌋, then pick<0.3: q.x −= 1/16; <0.5: += 1/16; <0.65: snap to 160×90 pixels
channel split sp = 0.012·bad + 0.004·tear·band: r = tex(q+sp), g = tex(q), b = tex(q−sp); noise mix 0.14·bad, line flicker ×(0.82 + 0.36·step(0.5,h)), repair flash ×(1 + 0.35·(1 − smoothstep(0,0.08, R − tr)))
beat-envelope, frame-step, noise, quantiseHash-driven block corruption and RGB offset imitate analogue glitch; no signal, codec or scan-line model.
95Liquid chrome
liquid-chrome
BImage-based lighting on a metal PBR BRDF (three.js standard material, GGX, Fresnel)
material hook: albedo ← mix((0.90,0.94,1.0), albedo, 0.14), metalness = 1, roughness = 0.05, emissive = 0, envMap = PMREM of a 14-panel studio (panel intensity 0.5–10 in a dark room (0.1,0.11,0.135)), envMapIntensity 1.35
normal ← normalize(n + V·0.08·(sin(2.1y+1.3z + 0.9T), sin(1.9z+1.7x − 0.7T), sin(2.3x+1.1y + 0.6T))), coordinates = 1.3·world position, T = stage time
post = identity
material-hook, physical-law, time-integrateReal metal PBR with prefiltered environment lighting; the ripple is a low-amplitude sine normal perturbation, and the studio is a fixed box of emissive panels.
96Double exposure
double-exposure
C
object pixel (depth < far) → sky(uv)·(0.5 + 0.75·clamp(n·l,0,1)), l = (−0.45,0.65,0.6)n; empty depth → paper (0.93,0.915,0.87)·2·(1.04 − 0.44·|uv−0.5|²); far = smoothstep(1.15,1.45, z/F) mixes the object back to paper
sky = gradient (0.015,0.03,0.10)→(0.05,0.04,0.17) + teal near the bottom + milky-way band smoothstep(0.30,0,d_band)·(0.35+0.9·fbm) with d_band = |(y−0.5) − 0.45(x−0.5) − 0.05 − 0.05·sin(6x)| + 3 star layers (jittered cells 26 px and 80 px, core 1.8 / 1.1 / 3.5 px, twinkle 0.75 + 0.25·sin(uRealT·(1.2+2h)))
edge line = max(smoothstep(0.015,0.04,Δz/z), 0.8·smoothstep(0.35,0.65,1−n·n')) over 8 taps at 1.6 px → (0.7,0.92,1)·2.6
threshold, noise, lattice/tiling, edge-detect, palette-map, time-integrateA procedural star sky masked by the depth buffer imitates photographic double exposure; there is no additive film exposure of two images.
97Low-poly facets
low-poly-facets
BKuhn triangulation of a cubic lattice (6 simplices per cube)
lattice point lp = position/cell + 0.3·(sin(1.3y+0.9z), sin(1.1z+1.4x), sin(1.2x+0.8y)), cell = clamp(0.5·r_bound^0.55, 0.08, 4); simplex index = step(lf.y,lf.x) + 2·step(lf.z,lf.y) + 4·step(lf.x,lf.z); facet hash lpH = h(⌊lp⌋ + 3.7·index)
normal ← normalize( snap38(n_world) + 0.45·(2·lpH − 1) ), snap38 = argmax over 6 axes + 12 icosahedron + 8 cube-corner + 12 dodecahedron directions of d·n
albedo ← palette5(g) (sand, coral, cream, teal, sage by hue bins h<0.07|>0.92, <0.19, <0.45, <0.72 and L bins 0.72, 0.42), ×(1 + 0.17(lpH.x − 0.5)), lightness kept with 0.8 weight; roughness 0.92, metalness 0
material-hook, lattice/tiling, quantise, palette-map, noiseThe Kuhn simplex split is an exact construction; lighting is the standard PBR shader on snapped normals, so tone is flat per facet.
98Typewriter art
typewriter-art
B
cell 14 × 26.5 px (1080p); tone = lum of gamma-corrected weighted mean (centre ×2 + 4 corner taps)/6; d = clamp((0.97 − lum)·1.75, 0,1)^0.85
glyph index i1 = ⌊clamp(1.05d,0,1)·31.99⌋ from a 32-glyph atlas of Courier New sorted by canvas ink (alpha sum); overstrikes: i2 = ⌊6+20h⌋ when smoothstep(0.42,0.55,d), i3 = ⌊14+17h'⌋ when smoothstep(0.7,0.82,d), each with random offset up to 1.2–3.4 px
ink = 1 − (1−a1)(1−0.9·a2)(1−0.9·a3), then ^0.7·(0.8+0.2h); typed = [p·1.8 ≤ beatAge], p = (row_from_top + col/nC)/nR (else ink ×0.5); col = mix(paper, (0.012,0.012,0.02), ink)
quantise, lattice/tiling, beat-envelope, threshold, time-integrateTone-to-glyph mapping by measured ink coverage (ASCII-art construction) with random strike offsets; no ribbon or key mechanics.
99Art Deco poster
art-deco-poster
C
hue family weights hat(h,c,w) = clamp(1 − |h−c|/w,0,1) with centres red 0 (and 0.9) w 0.1, yellow 0.125 w 0.09, green 0.36 w 0.17, blue 0.62 w 0.14; wN = 1 − smoothstep(0.12,0.32,sat) → ivory ramp
col = (burg·wR + gold·wY + teal·wG + navy·wB)/Σw·(1−wN) + ivory·wN, each ramp(a,b,c,L) = mix(mix(a,b,smoothstep(0,0.5,L)), c, smoothstep(0.4,1,L)), L = mix(L, smoothstep(0.05,0.95,L), 0.6)
background sunburst: 32 rays ray = step(0.5, fract(16·atan2/2π)), dark (0.04,0.17,0.22), light (0.10,0.42,0.45), sun disc radius 0.21, 4 gold arcs at r = 0.26+0.12i; silhouette gold line smoothstep(0.015,0.04,Δz/z); mat 24 px navy, gold rules at 24 and 31 px
palette-map, quantise, edge-detect, lattice/tiling, thresholdHue-weighted 3-stop ramps plus a polar ray pattern imitate the poster convention; no airbrush model.
100Long exposure
long-exposure
AShutter integration (temporal box average of the scene radiance)
kit mode avg: out_rgb = (1/n)·Σ_{i=0}^{n−1} scene(t − 1.0·(n−1−i)/(n−1)), n = 10 live (48 for stills), camera fixed at its pose at t (tripod)
post: c ← c + 0.35·max(c − 0.7, 0), then × (1.04 − 0.35·v²)·(1,1,1.04), v = |(uv − 0.5)·(1.1,1)|
time-integrate, convolve/blurA discrete box filter of n = 10 renders over 1 s (48 for stills) approximates the exposure integral; the 10 samples show steps in fast motion.