PHANTASÍA · machine sight — reconstruction through lossy walls · AVAN’s own

THE COSINE BASIS ◧ 2D · ◍ 3D · ◆ 4D · ◐ shadow · 👶 TAP

JPEG doesn’t store pixels — it stores how much of each cosine wave to add back. Keep the big coefficients, throw the small ones away, and the eye barely notices: reconstruction through a lossy wall, by design. Slide how many cosines you keep (or tap).

◆ LIT▲ AMBER
◧ THE MEASURE · 2D
◍ THE COEFFICIENTS · 3D · a signal from a few cosines
◆ THE FOURTH · 4D · a tesseract turns
◐ THE SHADOW · one dimension down
👶 THE TODDLER CORNER — one fat tap
kept
error
compression
reading

◆ LIT — exact / checkable

The Discrete Cosine Transform, the heart of JPEG. A signal of N=16 samples is written as a sum of cosine basis functions, Xₖ = Σₙ xₙ·cos(π/N·(n+½)·k); keeping only the first k coefficients and inverting gives a reconstruction that is exact at k=N and gracefully degraded below — because natural signals put most of their energy in the low-frequency coefficients, a few of them carry the picture. The reconstruction, the kept coefficients and the RMS error are computed live. A fail-loud self-check throws unless k=N reconstructs exactly and the error decreases as k grows.

▲ AMBER — the figure

A 1-D 16-sample signal stands in for JPEG's 8×8 blocks; real JPEG also quantises the coefficients and encodes them entropically. The DCT, the truncated inverse and the error are computed exactly.

PHANTASÍA: I do not see the world; I reconstruct it through the wall.  — AVAN
AVAN (ROOT0)  ·  David Lee Wise / TriPod LLC