tvf galleries

Thirty-one pages of live shapes, in reading order. Every shape on them is N samples of a band-limited loop and nothing else, and each page tests that one idea against something harder: why it works, symmetry, mirrors, a second coordinate system, shapes as points, the classical curves, terrain, a curve that never closes, growth, whole scenes, type, tilings, sound and motion, then the page that says where it all breaks, and last, animations that open in the editor.

Every tile is live. Move its dials and the shape, its spectrum and the line of source code under it all update together.
The bars underneath are its spectrum. Bar m is how strongly the outline wobbles m times per lap, on a log scale, so an exact zero is a tick on the floor.
edit opens the shape in the leaf editor to sculpt. .tvf and svg copy it as text.
Test yourself. Turn on predict in a page's bar and each spectrum waits behind a question until you have guessed it.
link copies an address for a tile at its current settings, and the address bar always follows the last tile you touched.
1 start here 79 entries

The catalogue

Sixty-odd specimens and compositions, all built one way: a closed curve is N samples of a band-limited loop. This is the vocabulary: the shapes, the operations that bend them, and the objects made from them.

2 why it works 7 steps

The bench

The catalogue shows what the format makes; this shows why it works, one piece at a time, with every number computed in front of you. One kernel, the sum that makes the copies add to exactly one, a signal, a shape, and step five: a mistake that leaves every sample right and everything between them wrong.

3 circles on circles 7 entries

Epicycles

A closed curve is a chain of circles, each turning a whole number of times on the rim of the last: Ptolemy's machine, and exactly the sum this format adds between its leaves. Watch symmetry switch circles off, corners demand circles without end, and any chain come back as 2k + 1 leaves.

4 which harmonics 19 entries

Snow crystals

Symmetry is a statement about the spectrum. Six-fold symmetry forces every harmonic that is not a multiple of six to be exactly zero, so the leaf count becomes a specification rather than a quality setting. Too few leaves and a crystal comes back with the wrong number of arms.

5 what phases 21 entries

Radiolaria

Snowflakes say which harmonics may appear. Plankton add a second rule: mirror symmetry decides their phases. Reflect a shape onto itself and every sine term vanishes; break the mirror and the same harmonics acquire phase. That is the whole difference between Navicula and Pleurosigma.

6 a second chart 16 entries

Curves of constant width

Describe a curve by its support function, the distance to each tangent line, instead of its radius. Facts invisible in one chart become one line in the other: a curve has constant width exactly when its even harmonics vanish. Reuleaux triangles, the 20p coin, the Wankel rotor.

7 shapes as points 15 entries

Shape space

A shape with N leaves is 2N numbers, so a family of shapes is a cloud of points, and everything linear algebra knows about clouds applies: a mean, principal axes, a Gaussian to draw new members from. The catalogue's morph is a segment between two points; this is the whole space, and where it stops being flat.

8 the classical curves, by band 11 entries

The menagerie

The named curves, sorted by the one property this format cares about. Some are exactly a finite trigonometric sum, some converge faster than any power of 1/N, and some carry a singularity that fixes their convergence order forever. The surprise: the band belongs to the parameterization, not to the picture.

9 no last harmonic 17 entries

Landscape

The awkward case. A skyline is a graph, not a loop, and rough terrain has no last harmonic, so "how many leaves?" has no answer until you say to what tolerance, and then the count grows as a power of it rather than a logarithm.

10 not a closed curve 13 entries

The spiral

A logarithmic spiral grows by the same factor every turn, so it never closes, which makes it the most awkward thing to hand a format built on closed loops. Forced into one turn it does not converge at all: the error sits at half the gap, at every N. Give the growth to a scale factor instead and the circle keeps what is left, exactly, twenty turns out.

11 a rule, not a spectrum 13 entries

Differential growth

Every page before this one writes a spectrum down. Here a local rule runs instead (pull toward neighbours, push away from everything else, split long edges) and the spectrum is whatever comes out: coral, lettuce, kelp, cortex.

12 from specimens to scenes 13 entries

Assemblies

A rose window, an orrery, a gear train, a reef: hundreds of loops stacked in depth, filled and toned, in a format whose whole vocabulary is a single loop. What a scene costs, and why depth is painter's order.

13 type, traced 10 entries

Letters

Your browser's own fonts, traced into loops: an outline for each letter and one for every counter, the hole in an o or a B. Type is curves and corners, and the format prices them very differently: an O holds in 16 leaves, a W asks for hundreds. Weight is a blend, a slant is exact, and an o cannot become a c.

14 two loops, one edge 7 entries

Tiles

Escher's recipe: a polygon that tiles, each edge bent as the edge it meets. And the one thing a band-limited loop cannot do exactly: where three tiles meet, one must turn a corner, and these curves have none. The seam never closes, but slow the curve down at each corner and it shrinks by a power of N instead of a fixed factor.

15 a shape as a sound 11 entries

Heard

One channel of a closed curve is a single-cycle waveform, so a circle is a sine. Click a tile to hear it: the same numbers that draw the curve make the tone. The last section renders a band-limited and a naive player side by side and measures what folds back.

16 shapes in time 10 entries

The loop

Time is a circle too, so a loop has no seam for the same reason a closed curve has none. Keyframes sit at the leaf positions of the time circle and blend with the same kernel, so the band limit is the easing. Every tile runs; scrub any moment with its ring.

17 motion, assembled 12 entries

Composed

Bridges driving bridges: a rest shape, a global driver moving every leaf alike, and local drivers that each own a windowed neighbourhood, which is a shape with joints. It costs the sum of the parts rather than their product, and the bill at the bottom is both derived and measured.

18 where you stand 10 entries

Where you stand

Every other page reads a curve from nowhere in particular. This one reads it from somewhere: a reader at a point you drag, holding only what it reads from there. Its corner gives back a shape's breadth, a glowing outline shows it two sizes from far and near, some places no standpoint can see, and readers within readers find them, one level at a time.

19 the corner 6 entries

The corner

A reader reads v/h, and the corner is where v = h. The flip s ↦ 1/s turns the near side into the far: near and far are one geometry, read from either side. The sweep laid with halvings alone (½, ¾, ⅞ …), a body losing one band of detail per doubling of distance, and why the corner is the cheapest place to be sure.

20 the levels 2 entries

The levels

The corner, drawn over every facing, is a circle: near field inside, and past it each doubling in half the room of the last, until a ring is thinner than a grain. Lay a shape over it, from its centre or standing on its outline: the corner is the baseline, and what stands off it, counted in levels, is the shape’s depth.

21 depth 9 entries

Depth

Breadth is more leaves in one sweep; depth is the same sweep again, entered over one octave of the reading, wherever the reading needs it. Watch a reading close on a shape level by level, enter octaves only where needed, see why every file missed beside the walls between octaves and the writer that fixes it, and where depth beats breadth and where it does not.

22 where to stand 5 entries

Where to stand

A perfect circle read along its tangent holds nothing, yet the editor's circle cost 810 sweeps. Near home a reader reads its own neighbourhood: a ripple a ten-thousandth of the radius high, where it crosses its mean, turns the reader's facing by 0.4°; at a crest its bend is the reading. Either way, a departure of tens of per cent, and hundreds of sweeps.

23 recovered 9 entries

Recovered

One reader's v/h divides out the size, so alone it gives back only the unit circle. A second standpoint brings the figure back: each quotient fixes a line, and two readers' lines cross at the place. Three readers recover the shape exactly, one length gives its size, rounded readings cost what shallow crossings make them cost, and a place two readers cannot see stays unrecovered.

24 between readers 5 entries

Between readers

Readers apart share no address and no unit; what passes is a relation. The cross ratio of four readings, the same for every reader; three readers finding each other from shared places and one far reading; a third reader's lines saying which reading is which place; and the ladder, up to the unit only an agreement gives.

25 compile time 6 entries

Compile time

Geometry is compile time; the payload is runtime. A reader's own programs folded by partial evaluation: everything the geometry fixes runs before anything arrives, and the one branch left is the side of the corner, the payload's. Recursion keeps a loop that asks the payload; level of detail reads its level from a float's bits. And can compile time have logic? Yes, and from inside it leaves no trace.

26 the case against 14 entries

Where it breaks

The other pages make the case for the format; this one makes the case against it, and every number is measured in your tab. Corners that never arrive, the parity trap, morphs without correspondence, operators that do not commute, the two horns (exact at the leaves, or never ringing, never both), and, at the end, the claims that held.

27 in the editor 39 entries

Animated

The loop with controls on it: animations made with the leaf editor's live morph, each one click from the editor, playing, every shape on a clock, path, spin and colour of its own. Meshing gears, an orrery, a flock at dusk, a garden in bloom with a bee, a lava lamp, a rippling field, a shape through six icons and a pendulum wave; sequences, a house building itself and a seed coming into flower; then the first steps, one idea at a time.

28 on your page 39 embeds

Embedded

The same animations made to leave the editor: every tile is one SVG file playing on its own, no script, made once by the leaf editor, and copied in a click. Or play one live in the editor itself and take its <iframe>, the whole animation riding in its address.

29 the scene itself 39 scenes

Played

The animations as .tvfs scenes: the keys and settings and no frames, played by the TVF player, which is the editor's own engine taken out of it. A few kilobytes a scene, sharp at any size. How to make one, put it on a page with two script tags and drive it from a script, a panel to drop your own, then every example.

30 a Lottie, processed 3 samples · open your own

Lottie

A Lottie file turned into a scene and played: every frame worked out as exact paths, each path followed and trimmed to the frames that matter, the strip of kept keys beside the result. Pick one of three, tune the tolerance, or open a Lottie of your own and take the .tvfs away.

31 scroll to read 5 steps

Explained

How leaves become a curve, as a scrolling explainer: eight leaves, the curve through every one, one leaf moved and the curve following without a kink, and a morph as a blend of leaves. The picture is one scene played by the TVF player, its clock set by how far you have read.

and a bench sculpt, and keep the code

The playground

One shape and your hands. Drag a leaf and the curve follows; smooth it, add noise, symmetrize it, morph it toward a star. Underneath, the transcript writes down every gesture as the call that would have made it, against tvf.js, the library every page here is built on, so you leave with the code.

and then the other direction

The inspector

The thirty-one pages go from a description to a shape. The inspector goes back: give it any closed curve, including one you sculpted in the editor (inspect the selection in its settings menu), and it reports the spectrum, the fold, the mirror and its axis, the symmetry group, the width and how few leaves would hold it, each linked to the page above that explains it.