diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 15:17:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 15:20:24 -0300 |
| commit | 6fb92d5384ba944b2d6a9c5066a08b41a8ef555f (patch) | |
| tree | f8854c4272879c5fb54b7fd0e7c2f0e0b8ab904a /design/motion.md | |
| parent | 2463e602f12f969fe085bc2114a3960411b79f87 (diff) | |
| download | computeranim-6fb92d5384ba944b2d6a9c5066a08b41a8ef555f.tar.gz computeranim-6fb92d5384ba944b2d6a9c5066a08b41a8ef555f.zip | |
design: a language of named blocks; the lens as a band over the whole context
The README is now the catalogue: atoms, rows, panels, ties, the frame and
the verbs, each block specified once under the name the code uses, with
rules of composition and what is forbidden. From the user's notes on the
context mocks: a lens is a band across the top, its drawing on the left
and the bytes it is drawn from on the right, a hexdump with each field's
bytes marked and read at the row's end; the disassembly is seventeen rows
in address order with a source-line column and an annotation for what
each row read, set or jumped to; a register is pinned to the node it
points at by name; hex is unbroken; and four kinds of tie say which pane
is a view of which (thread, link, projection, echo).
Diffstat (limited to 'design/motion.md')
| -rw-r--r-- | design/motion.md | 52 |
1 files changed, 32 insertions, 20 deletions
diff --git a/design/motion.md b/design/motion.md index 6187a51..4a22f92 100644 --- a/design/motion.md +++ b/design/motion.md @@ -8,26 +8,38 @@ frame. Where the two disagree this one wins; the tokens to change are under Times are at 60 frames a second: "12 f" is twelve frames, 0.20 s. -**Since the context revision** (`README.md`, revision 2) every frame holds -the whole context and one lens. The direction below stands and applies to -those panels; five details of it read differently now: +**Since the design language** ([`README.md`](README.md)): the blocks this +page moves have names there, and its [verbs](README.md#6-verbs) are this +page's charts in one table. The direction below stands. What reads +differently now: -- There is no head. The step counter and the progress line are on the - clock rule over the caption. +- There is no head. The step counter and the progress line are the `clock`. - In the context a strike arms with a 2-unit frame, pulses out 3 units, and - cools to nothing, leaving a tick at the value's left where this page says - ember and bar. A lens's cells keep the ember and the bar. -- A telescope whose first link is struck is followed again link by link, - 4 f apart, each fading in over 6 f. A register's plaque then slides to - what the register now points at (24 f, `glide`), and the step's one link - draws (24 f, `standard`); the link fades over 18 f at the advance. -- The levels of the cascade are places in one frame: the disassembly's note - and the registers (CPU), the stack and the lens's words (memory), the - lens's drawing (the idea). The order and the 18 f between them are the - same. -- The camera rests at x1.5 as well, and that is its usual scale: a frame of - 1195 by 560. At x2 the frame is 896 by 420. It always returns to the - whole frame. + cools to nothing, leaving the `held` tick where this page says ember and + bar. A lens's cell cools to a bar along its bottom edge. +- `extend`: a chain whose first hop is struck is followed again hop by + hop, 4 f apart, each fading in over 6 f. +- `link`: 6 f after a register's strike its old `pin` fades (12 f) and the + line draws from the register's row to the thing it now points at, head + first (24 f, 36 f over 400 units, `standard`). The pin lands with the + head and settles (12 f). At the advance the line draws back into the pin + (18 f). "Its plaque slides" and "its tag travels", below, are this. +- `project`: the idea's slot in the cascade is a tie. When bytes in the + dump are read or struck, a bracket takes their row (6 f) and a line + draws from them to the part of the drawing they are (18 f, `standard`). + The drawing reacts when the line arrives and not before: its bytes are + always 18 f ahead of it. Out with the advance (18 f). +- `advance`: the `thread` (the bracket on the source line, the brackets on + its instructions, the line between) moves with the plaques and rip, as + one mark, last. +- `establish`, for a lens: its dump first; then each element rises from + its row by `project`, 6 f apart in address order, and the lines go. +- The levels of the cascade are places in one frame: the pc's annotation + and the registers (CPU), the stack's slots and the dump's bytes + (memory), the drawing (the idea). The order and the 18 f between them + are the same. +- The camera rests at x1.5 as well, and that is its usual scale: a frame + of 1195 by 560. At x2 the frame is 896 by 420. It always returns. ## What was measured @@ -504,8 +516,8 @@ the middle third. If they move out of it the frame glides a whole row ## Revised tokens -In `anim/src/theme.zig` (and the same figures in `design/README.md`, -"Motion"): +In `anim/src/theme.zig` (the verbs of `design/README.md` use the same +figures): | Token | Was | Is | | --- | --- | --- | |
