1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
|
# Motion
How things move in a canim frame, in what order, and for how long.
[`README.md`](README.md) gave durations and curves. This is the direction
that uses them, written after measuring the first five scenes frame by
frame. Where the two disagree this one wins; its figures are tokens, see
[Tokens](#tokens).
Times are at 60 frames a second: "12 f" is twelve frames, 0.20 s.
**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 the
`clock`, and it moves as this page says the progress line does: still
through a step at a walk or a run (the step's piece of gold fades in
once its mark has landed), sweeping at a sprint.
- In the context a strike arms with a 2-unit frame, pulses out 3 units, and
cools to nothing, leaving the `held` corner where this page says ember and
bar. A lens's cell cools to a bar along its bottom edge. The cool starts
with the advance, whenever that is.
- Tags of variables and registers are `pin`s. A pin is one thing and
[`travel`](README.md#6-verbs)s along its lane; it never jumps.
- `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, or a frame's return address on the stack, 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; 30 f over 600 units; `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 view first; then its elements come in
beside their rows, 2 f apart in address order, with no lines (six lines
at once would break the budget of three).
- 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.
- Above the working frame there is the map, the same moment with every
panel whole, and in the working frame's corner the minimap. A scene goes
between them by `dive` and `surface` (below, "The map and the working
frame").
- `current` is a white wash across the row and the gold plaque; a strike's
paper is a softened vermilion, and cools to nothing; `held` is a turned
corner, which fades in over the cool's last 6 f.
## What was measured
The five scenes as exported (30 fps, build of 13:01), with
[`motion/motion.py`](motion/motion.py): a timing chart of each
([`motion/charts/`](motion/charts)), contact sheets of every transition
looked at ([`motion/sheets/`](motion/sheets)), and five rule checks.
| | fib | list | sort | syscalls | zoom |
| --- | --- | --- | --- | --- | --- |
| seconds | 30.8 | 39.3 | 36.6 | 13.8 | 25.8 |
| CROWD: three or more panels begin on the same frame | 75 | 43 | 44 | 4 | 5 |
| POP: a change with no frames in between | 68 | 40 | 35 | 0 | 1 |
| METRONOME: longest run of evenly spaced steps | 68 at 0.25 s | 15 at 0.25 s | 36 at 0.25 s | 4 at 3.0 s | |
| walked steps exactly 1.5 s apart | 8 | 7 | 14 | | |
| seconds between the first caption and the first step | 0.0 | 1.5 | 0.0 | 0.0 | 0.0 |
Three things account for nearly all of it:
1. **A step spends itself on its first frame.** The line's mark, the
registers, the bytes and the idea drawn from them all start together
and are done in 0.25 s; then 1.25 s of stillness. One change is seen,
three are missed, and nothing says which caused which.
2. **Steps tick.** A walked step is 1.5 s whether it moved a line or pushed
a call through four panels.
3. **Run is a strobe.** 0.25 s a step with nothing eased: whole panels
replaced four times a second, for 17 of fib's 31 seconds.
## The direction
### What motion is for
Four jobs, and a movement that does none of them is a cut:
- **Where to look next.** An onset pulls the eye. So onsets come one at a
time, and each is where the next thing to understand is.
- **What caused what.** Cause moves first; its effect follows. Order on the
timeline is the argument.
- **This is the same thing.** What persists slides; what begins or ends
fades. A plaque that teleports is two plaques.
- **Now.** A change has an instant. The strike marks it; everything before
is preparation and everything after is reading time.
The viewer listens, reads and watches, and can do one of the three well.
Nothing moves while a caption arrives. Nothing arrives while something
moves. The eye takes about a quarter of a second to get anywhere, so two
onsets in different panels are at least 0.30 s apart.
### A step is a sentence
A step is one line (or one instruction) doing its work. It is drawn in the
order it would be said:
> *this line* → *changes this* → *which changes that* → *next.*
1. **Fire** (12 f). The current mark is on the line about to run. Its
plaque pulses once. Nothing else moves.
2. **Effects, a level at a time**, 18 f apart, in the order they were
caused: CPU (registers), then memory (bytes, words, the heap strip, the
locals table), then the idea drawn from them (stack cards, call tree,
list nodes, array cells). A level the scene does not show gives up its
slot. Each effect is *armed* for 12 f (a frame round the cell, the old
value still in it) and then struck.
3. **Hold.** 36 f after the last strike, 12 f more for each further value,
84 f at most. The gold line and the vermilion values are on screen
together: the line, and what it did.
4. **Advance** (12 to 24 f). The mark moves to the next line. This is the
step's follow-through and the next step's anticipation.
5. **Rest** (24 f). The next line is read.
**The mark goes last.** The exported scenes move it first, and so does the
working tree's `cursor.lead` (`source = 0.0`). That is a debugger's
convention, and it puts gold on the line that has *not* run while the
strikes show what the line before it did: in `list` at 5.27 the mark lands
on `n->next = head;` as `7` is struck into `value`. Execute, then advance,
and gold always names the cause of what is red.
A step's length follows from its content:
| A step that | Frames | Seconds |
| --- | --- | --- |
| only moves the line | 12 fire + 12 advance + 24 rest | 0.8 |
| writes one register (or one word, or one cell) | 18 + 36 + 12 + 24 | 1.5 |
| writes a register and memory | 36 + 48 + 12 + 24 | 2.0 |
| makes a call, three levels shown | 108 + 36 + 12 + 24 | 3.0 |
| returns from one | 126 + 24 + 12 + 24 | 3.1 |
| swaps two cells | 90 + 36 + 12 + 24 | 2.7 |
| crosses into the kernel | see the chart | 3.7 to 5.1 |
A level with nothing on screen to change gives up its slot: a step whose
writes all land outside every window is a step that only moves the line.
So a walk has the program's rhythm and not a clock's.
### The principles, here
**Timing and spacing.** A change takes 0.1 to 0.6 s and is then held for
at least twice that and at least as long as it takes to read:
| To read | Seconds |
| --- | --- |
| that something was struck | 0.25 |
| a byte, a small decimal | 0.3 |
| a group of four hex digits | 0.5 |
| the end of an address against another (nobody reads twelve digits) | 0.6 |
| a line of code, first time; again | 0.8; 0.3 |
| a caption | 1.5 + 0.06 a character |
| a frame of n panels, on first sight | 1.0 + 0.5 n |
Spacing is where the frames of a move fall. Measured on the swap in `sort`
the card is fastest on the first frame it moves and slows from there (35,
24, 17, 13, 10, 8, 7 pixels a frame), then creeps for eight frames more: a
jump and a crawl, not an arc
([sheet](motion/sheets/sort-20.4-swap-onion.png)). The curve does that,
not the duration; see the next principle. Duration follows distance: the
mark takes 12 f for one row and 2 f more for each further row; a flight 30,
36 or 48 f.
**Slow in and slow out.** Three curves do the work.
| Curve | cubic-bezier | Peak speed | For |
| --- | --- | --- | --- |
| `standard` | 0.3, 0, 0.2, 1 | 2.6 x mean, a quarter of the way in | the mark, cards, tags, arrows growing, rows making room: things that answer the program |
| `glide` | 0.45, 0, 0.55, 1 | 1.8 x mean, at the middle | things with weight: a value in flight, the camera, a layout, a colour cooling |
| `linear` | | | time itself: the progress line, a counter, the playhead; and opacity |
`standard` today is 0.2, 0, 0, 1: half the distance in the first fifth of
the time, a peak of 4 x mean on the second frame. `camera` today is
0.65, 0, 0.35, 1: 4% of the way after a fifth of the time, then 2.9 x
mean. Both read as a pop with a tail. `enter` (0, 0, 0.2, 1) starts at
full speed and is kept only for a fade that rises 8 units; `exit` for a
fade that leaves.
A strike is not eased in position, because nothing moves; its fill comes
in over 6 f so that a cell does not flash in one.
**Anticipation.** The eye is told where before it is told what.
| Before | The cue | Frames |
| --- | --- | --- |
| a line runs | its plaque pulses | 12 |
| a value changes | a 3-unit write-coloured frame round its cell, old value still inside | 12 |
| a pointer turns | its old arrow goes dashed and faint | 12, with the arm |
| a value flies | it lifts: a card, 1.12 of its size, 6 units off the cell | 6 |
| the camera moves | a bright frame on the target; everything else leaves | 24, 18 |
| the pace changes | the steps before it shorten or lengthen | 3 or 4 steps |
| a caption's subject | the caption, alone on a still frame | 60 or more |
No wind-up: nothing draws back before it goes. (`cursor.anticipation`, a
cell shrinking before its pulse, should go; on a 46-unit cell it is two
pixels of cartoon.) No anticipation at run or sprint.
**Staging.** One idea at a time.
- One onset at a time, 18 f apart. Two panels that show the same bytes (the
heap strip and the words) start together; only the one in focus pulses.
- What cannot be read at the current pace is veiled: the registers, the
stack and the disassembly from the first shortened step of a run, and at
a sprint the source and the band's view as well (see Pace). What is not
the subject of a camera move is gone before it starts.
- The subject is never at the edge. At x2 the rows about to change are in
the middle of the frame, and no row is cut by the stage's edge. A stack
under the camera holds its window still, so a push fills a row in the
middle of the frame instead of scrolling the whole panel at its edge.
- A layout is stable. A row, a node, a card or a divider that appears makes
room first; nothing else jumps because it came.
- One caption at a time. The old one leaves (12 f), six frames of nothing,
the new one arrives (18 f). Two captions crossfading are an unreadable
third ([sheet](motion/sheets/zoom-08.7-out-and-in.png), f304).
**Follow-through and overlapping action.** The cascade is the overlap: each
level starts while the one before is still solid. After that:
- A strike is followed by its cool, 36 f later, starting as the mark
leaves. The digits change face at the middle of the cool, where the
colour is moving fastest and hides it.
- A pointer's word strikes first; its arrow leaves 6 f later and takes 24 f;
the row or node it lands on is framed bright for 12 f. The cell is the
cause, the arrow the consequence, the landing the point.
- Of two things doing the same (two flights, four registers read, sixteen
bytes copied) the second starts 6 f after the first; bytes of one write,
1 f apart, low address first; bytes copied by the kernel, 2 f apart.
- What leaves has left before what replaces it arrives.
- Nothing settles by bouncing. A flight's card is back to size on its last
6 f and the strike is its impact.
**Arcs.** Ideas move on arcs; the machine moves on wires.
- A value between cells of an array, or between nodes: an arc a quarter as
high as it is long (34 to 120 units), on `glide`, so it is slowest at
lift-off and landing and quickest over the top. A swap is one over and
one under. The arc stays inside the drawing's lanes (lowered if it must),
and the card passes under names and pins, never hiding them.
- A value between a register and memory, or across the kernel's line: along
a square-cornered path, as a flow arrow draws it. Machines do not lob.
- A variable following a pointer (`cur = cur->next`): its pin travels
along the drawing's bottom lane, under the arrow it followed.
- The mark moves straight up and down its gutter. The camera moves in a
straight line and zooms by ratio (interpolate the logarithm of the scale),
or the first half of a move to x2 looks twice as fast as the second.
**Secondary action.** Embers, bars, the trail, flag chips, result badges,
the step counter and the progress line. They never start on a frame where
something primary starts, never travel or scale, and only fade. If one of
them draws the eye it is too strong: the digit pop at the middle of each
cool does, in every scene, 0.8 s after each strike.
**Exaggeration and appeal.** The look is sober, so the budget is small and
spent in three places: the pulse of a strike, the lift of a flight, the
fire of a line. Appeal here is exactness: everything lands on the grid, on
whole pixels, on the beat; the same event takes the same frames every time.
No bounce, no elastic, no rotation, no blur, no smear frames.
**Squash and stretch.** Only the pulse, and not as a scale. At 8% a
register's cell grows 27 units sideways and 3 up, and two struck rows merge
([sheet](motion/sheets/fib-02.2-register-strike-and-cool.png), f70). The
pulse is an outset of 4 units on every side, whatever the cell's size, drawn
over its neighbours; the digits do not move.
**Pose to pose.** Every rest state is a still that was designed (the
mocks). Motion is the way between two of them and is never the only place
something is shown.
### The rhythm of a scene
**Open.** The opening is read under its first caption, not before it:
seven seconds of stillness before anything happened was the first
videos' longest flaw.
| Frames | |
| --- | --- |
| 0 to 48 | the panels fade in, 18 f each, 6 f apart: registers, stack, source, disassembly, the band's view, the drawing's panel |
| 30 to 54 | the drawing's elements fade in rising 8 units, 2 f apart in address order, each with its row's quiet bracket |
| 60 to 78 | the first caption arrives |
| 78 to 198 | still: the caption and the picture are read |
| 198 to 240 | the first step fires, by 240 (4.0 s) at the latest |
**Beats.** The beat is 0.5 s. Steps are as long as their content; a
*phrase* (one trip round a loop, one call and its return) ends with a rest
of one beat. Three steps and a rest is a bar, and a loop is heard as bars.
**Breath.** A caption is up 60 f before the first step it describes
fires (120 f for a scene's first), and holds a beat longer after. It is on
screen at least 1.5 s + 0.06 s a character, and at most 12 s; if there is
nothing to say for longer, the scene is too long there. Captions change
only in a rest. A sentence that would need three lines is two captions,
split at a phrase rest. The numbers an author checks are in the
catalogue's [caption](README.md#clock-and-caption).
**Pace.**
| | A step | What is drawn | Veiled | When |
| --- | --- | --- | --- | --- |
| walk | by content, 0.8 to 3.0 s | everything | nothing | the first time anything happens, and whatever the narration names |
| run | 0.30 s | the mark glides (8 f); cards, nodes, arrows and pins ease (8 f); values get embers, never solids; no fire, arm, pulse, link or projection | registers, stack, disassembly | a pattern seen once in full; 24 steps at most |
| sprint | 0.067 s or less | the drawing grows; embers; the mark and the pins only at phrase ends; the clock sweeps | the same, and the source and the band's view | everything longer |
A run keeps its bars: 12 f of rest at each phrase end. A sprint does not.
**Changing pace** is never a switch.
- Into a run: four steps, each 0.6 of the one before (1.5, 0.9, 0.54,
0.32). Out of it: three steps lengthening the same way, then one beat of
stillness before the walked step that the run was heading for.
- On the first shortened step the panels that cannot be read at speed take
the veil (50%, in over 18 f with its fire); on the last step back to a
walk it lifts (18 f, with the advance). Under the veil the values go on
changing, without marks: the veil says "not now", not "nothing".
- The clock: at a walk and a run it is still while a step plays, and the
step's piece of gold fades in once its mark has landed (12 f; 8 f at a
run), the count changing as the fade starts: moving every frame of a
walked step it would be a secondary action that never stops. In a
sprint it grows linearly with the recording: the only thing on screen
that says "fast".
- The caption says it too: "and so on, down to `fib(1)`".
**Close.** The last step's hold, then 2 s on the finished picture. A scene
ends on its result, read.
## Timing charts
Frames at 60 a second from the step's first frame. *Arm* and *strike* are
always the same sub-chart:
| Frames | A strike at frame s |
| --- | --- |
| s-12 to s | arm: a 3-unit frame in write's colour inside the cell's edge, in over 2 f; the old value unchanged |
| s to s+6 | the fill (`b54f42`) comes in, linear; the digits become the new value, bold, bright, at s+3 |
| s to s+12 | pulse: the fill's edges go out 4 units and back, sine |
| s+6 to the advance | solid (at least to s+36) |
| the advance to +24 | cool, on `glide`, the paper to nothing; digits to their ordinary face at its middle; the turned corner fades in over the last 6 f |
| then | the corner for three steps; out over 36 f, linear, in the step after |
### A register written
| Frames | |
| --- | --- |
| 0 to 12 | fire |
| 6 to 18 | arm on the value cell |
| 18 | strike (to 24 in, to 30 pulse, to 54 solid) |
| 54 to 66 | the mark advances, `standard`; the cool starts (to 78) |
| 66 to 90 | rest |
Two registers by one step: the second is armed and struck 6 f after the
first, in the order they were written. rip is not one of them: it is the
current mark's, and moves with the advance.
### Memory written
The same, one slot later if a register was struck too: arm 24 to 36,
strike 36. Drawn as bytes, only the bytes whose value changed are armed
and struck, 1 f apart from the low address. The heap strip's mark is the
same strike at scale, without a pulse. Hold to 84, advance to 96, rest to
120.
A word outside the window: the window scrolls first (the stack's or the
dump's, 24 f, `glide`, whole rows, until the word is in its middle rows),
and only then is the word armed; the level's slot starts after the
scroll. A row that was not in the grid: the rows below glide down 18 f,
the row fades in 12 f, and only then is it armed. An unknown byte that becomes
known without being written fades from dots to digits in 12 f, with no mark.
### A value read
| Frames | |
| --- | --- |
| r to r+6 | a 3-unit frame in read's colour and its ember, fading in; no arm, no pulse |
| to the advance | held |
| advance to +18 | out |
A read is in the slot of its level. It is gone before the next line fires:
in `sort` and `syscalls` read frames stand through the rest and vanish in
one frame.
### A pointer written
| Frames | Memory | The idea (one slot later) |
| --- | --- | --- |
| s-12 to s | arm on the word; the old arrow goes dashed and faint | |
| s to s+6 | strike | arm on the node's pointer square, from s+6 |
| s+6 to s+30 | the new arrow draws along its lane, head first, `standard` | strike at s+18 |
| s+30 to s+42 | the row it lands on: a bright 3-unit frame, then 12 f out | its arrow draws, s+24 to s+48 |
| | | the node it lands on framed, s+48 to s+60 |
| s+6 to s+54, +18 | the old arrow, dashed, holds, then fades | the same |
A pointer made null draws no new arrow; the old one still lingers, in both
panels (today only the nodes keep it).
### A pointer followed
`cur = cur->next`.
| Frames | |
| --- | --- |
| r to r+6 | the `next` word, and the node's pointer half, framed as read |
| s = r+18 | the variable's own word (a local on the stack) is struck: it is where the address was written |
| s+18 to s+48 | `cur`'s pin travels along the drawing's bottom lane to the node it now points at, `glide`: 30 f to the next node, 36 f to one farther |
Low level first: the word changes, then the pin moves. Where the variable
is a register, its strike is in the CPU's slot and a `link` carries the
pin instead. A pin that appears (`next` the first time) fades in rising 8
units over 12 f; two names that meet on one node keep their sides, and a
name that joins or leaves cross-fades over 12 f.
### A call pushed
Three levels shown: the registers, the stack, the tree
([mock 12](mock/12-calls-subject.png) is its frame 108).
| Frames | |
| --- | --- |
| 0 to 12 | fire on the line that calls |
| 6 to 18, 18 | arm, strike: `rdi`, the argument |
| 12 to 24, 24 | arm, strike: `rsp`. Its pin stays on the window's top row: no link |
| 30 to 48 | the stack's rows slide down one slot, `glide`, as rows making room do: the new top row comes in with them |
| 48 to 60, 60 | arm, strike: the return address, in the new top row; the new frame's `call` span (gold, `fib(2)`) and its `backtrace` row fade in with the strike, the old ones going to rule and dim |
| 66 to 72 | the new backtrace row's bracket (`project`): the frame the return address made |
| 72 to 102 | the projection draws from it into the gutter beside the drawing and along the drawing's bottom lane to the place of the new node, 30 f, `standard` |
| 90 to 102 | the edge draws from the caller's node, arriving with the line |
| 102 to 108 | the callee's node fades in gold; the caller's goes from gold to a waiting ring |
| 108 to 144 | hold |
| 144 to 156 | the advance: the mark on the calling line cools to the trail, out 6 f; in 6 f on the callee's first line (the panel scrolls first if it must); the projection draws back out (18 f) |
| 156 to 180 | rest |
A call is a jump: the mark does not cross the lines between
([sheet](motion/sheets/fib-02.2-mark-crosses-seven-lines.png): seven lines
in five frames).
### A return
| Frames | |
| --- | --- |
| 0 to 12 | fire on the `return` |
| 6 to 18, 18 | arm, strike: `rax`, the answer |
| 12 to 24, 24 | arm, strike: `rsp` |
| 42 to 48 | the return address framed as read (`ret` reads it); the frame's backtrace row takes its bracket |
| 48 to 78 | the projection, in read's colour, draws from that row to the node, 30 f |
| 78 to 90, 90 | arm, strike: the node's result on its shoulder, rax's digits; the node goes from gold to done, the caller from waiting to gold |
| 96 to 108 | the frame's span and backtrace row fade out, `exit` |
| 108 to 126 | the stack's rows slide up to the new rsp, `glide` |
| 126 to 150 | hold |
| 150 to 162 | the mark jumps back to the caller's line; the projection draws back |
| 162 to 186 | rest |
The answer's tie is its digits: rax's and the badge's are the same
number, struck one level apart. A line from rax would be a sixth thing in
the frame saying what the digits say.
### The line changes
| | Frames | |
| --- | --- | --- |
| to a line 1 to 8 rows away, in view | 12, and 2 a row beyond the first, 24 at most | slides, `standard`; the number appears in the plaque when it lands |
| a call, a return, more than 8 rows | 6 out, 6 in, the in starting as the out ends | the old place takes the trail's first colour |
| to a line out of view, within a window's height | 24 before the mark moves | the text scrolls by whole lines, `glide`; never a cut |
| to a line farther than that (another function, line 42 290 after 80 895) | 12 out, 12 in, before the mark moves | the window fades through: scrolled, it would only blur |
The trail shifts without animation.
### A system call
`read(3, buf, 32)`. The kernel's side holds the last call until this one
arrives.
| Frames | |
| --- | --- |
| 0 to 12 | fire on the line |
| 18, 24, 30, 36 | `rax`, `rdi`, `rsi`, `rdx` framed as read, 6 f each: those that hold the argument at the stop shown, and no other |
| 48 to 72 | the crossing arrow draws down from the registers through the line, `standard` |
| 60 to 72 | the last call's name and rows fade out, `exit` |
| 72 to 84 | this call's name fades in, rising 8 units |
| 84, 90, 96 | its rows, top to bottom, 6 f each; `returns` shows a dash |
| 102 to 120 | its card pushes on the kernel's list |
| 120 to 144 | a flow draws from the kernel up to `buf` |
| 144 to 176 | the 16 bytes strike 2 f apart; no pulse |
| 180 to 186 | the `returns` row takes the value: the kernel answers before the answer travels |
| 186 to 210 | the arrow back draws up |
| 198 to 210, 210 | arm, strike: `rax`, as the arrow lands |
| 216, 222, … | the other registers the step changed (those the call clobbers, rcx and r11; those the wrapper restored), 6 f apart; then pins and links |
| 222 to 234, 234 | arm, strike: the word the line stores the result in (`n = read(…)`), when it does, after the registers |
| 234 to 270 | hold |
| 270 to 282 | advance |
| 282 to 306 | rest |
The result is stored only after the kernel has given it: `returns` has
the value before rax, and rax before the local, never the other way
round. A step that makes more than one call (a continue through a
library) is not a crossing: the kernel's list takes the calls, oldest
first, 2 f apart, the newest decoded, and the step is a `continue`.
For `write` the work runs the other way: the user's bytes framed as read
(120 to 126), a flow down (126 to 150), the kernel's cells filling 2 f
apart. A call with no work (`close`) goes from 120 straight to the arrow
back: 3.7 s. Nothing on the kernel's side changes before frame 60: the
kernel does not know the call until it has crossed.
### A continue
A stop far from the last: a breakpoint hit, thousands of instructions on.
The levels are the cascade's; what is in them is not one write each.
| Frames | |
| --- | --- |
| 0 to 12 | fire on the line the program left from |
| 18 to 18 + 2n + 6 | the n registers that changed strike in a wave, top to bottom in pwndbg's order, 2 f apart; the fill in over 6 f; no arm, no pulse |
| then 18 f | memory: the stack's window scrolls to the new frame (24 f) when that is within six slots, else fades out (12 f) and in (12 f) with no marks; a dump the scene keeps follows its region the same way |
| with it | the backtrace: frames that end fade out (12 f); frames both stops share slide to their new depth (24 f, `glide`); new ones fade in (12 f) |
| then 18 f | the idea: the lens's drawing reacts, or a lens the scene brings comes in |
| 36 f after the last strike | hold |
| 12 | the advance: the mark jumps (6 out, 6 in), the source and disassembly fading through first when the new line is farther than a window |
| 24 | rest; the clock's gold for every moment passed fades in at once |
A dozen registers struck on one frame is a flash that says only "a lot";
the wave says it in about 0.6 s and lets the eye run down the panel with it.
### A pointer opened
A `loupe`, on a beat the caption names: `rdi` has just taken the next
node, and the heap round it is opened beside it.
| Frames | |
| --- | --- |
| p to p+6 | the pointer's hop framed as read |
| p+6 to p+24 | the stem draws from the end of its row to the loupe's place, head first, `standard` (30 f where it is longer than 1200 units) |
| p+6 to p+24 | the loupe rises with it: fading in over 12 f from 8 units lower, its shadow growing from nothing to 12 and 16 over 18 f, `standard` |
| p+30 to p+36 | its target's bright frame |
| p+36 to p+96 | held: the caption reads it |
| q to q+36 | from a pointer inside it, the next opens the same way, over its lower rows, its shadow 20 and 26 |
| the advance after | close, the deepest first: the stem draws back (12 f), the loupe sinks, fading as it falls 8 units (12 f); the other 6 f after |
Two loupes at most; a third closes the first as it rises. Nothing else
moves while a loupe rises: it is a beat of its own, or the idea's slot of
a step, never two at once. At a run or a sprint none opens.
### A swap
The compare in the step before is its anticipation: both cells framed as
read. Low level first: the bytes change, the tie carries it, the cards
fly.
| Frames | |
| --- | --- |
| 0 to 12 | fire on the `swap` |
| 6 to 18, 18 | arm, strike: the first element's bytes in the dump (a run of its type; only the bytes that change) |
| 12 to 24, 24 | arm, strike: the second's |
| 24 to 30 | the first run's bracket; the second's echoes on its own row at 30, with no line |
| 30 to 48 | the projection draws from the first run to its cell, 18 f |
| 48 to 54 | the first card lifts (1.12, 6 units off its cell) |
| 54 to 60 | the second lifts |
| 54 to 84 | the first flies over, `glide`, 30 f for neighbours |
| 60 to 90 | the second flies under, under the index pins' names |
| 84, 90 | each lands: back to size on its last 6 f, then its cell is struck |
| 90 to 126 | hold |
| 126 to 138 | advance |
| 138 to 162 | rest |
Each cell keeps its old digits, faint, until its own landing. Its bar
(`held`) is on the cells whose value changed, and on no other.
### A node linked
`n->next = head` is a pointer written (above). A node allocated:
| Frames | |
| --- | --- |
| slot 0 | the heap strip's block fades in, 12 f; in the words, rows make room (18 f) and arrive with dots (12 f) |
| slot 1 | the node fades in, 12 f, with dots in both halves, at its place in the row; nodes after it glide aside first (18 f) |
`head = n`: `head`'s word is struck; its arrow redraws to the new node as
for any pointer; the other nodes glide to their new places 18 f after the
arrow lands.
### The camera
In, to x2:
| Frames | |
| --- | --- |
| before | the level's caption has been up at least 60 f; nothing is mid-step |
| 0 to 24 | a bright 3-unit frame on the target (6 f in) |
| 12 to 30 | everything else on the stage fades out; the head and the caption stay |
| 30 to 102 | the move, `glide`, on the logarithm of the scale; the frame fades over its first 12 f; the rail's gold square slides to the level |
| 102 to 138 | still |
Out is the same backwards: the move, then the other panels fade in 6 f
apart, then 36 f still. Sideways at x2 (registers to stack) is not out and
in: the target fades out (12 f), the next fades in at x2 (12 f), the rail's
square slides. 0.5 s instead of 2.6.
On the stack the window holds still from the frame on the target to the
way back: it is set before the move so that the slots the visit's steps
will write are in its middle, with `free` slots above rsp for the pushes.
A push fills one of them; rsp's pin climbs to it (24 f, `glide`), rbp's
travels the same way, and no row of the panel moves.
The frame at x2 is 896 by 384 units, on the 24-unit grid: the panel's tag
and as many whole rows as fit, with the rows the next steps will change in
the middle third. If they move out of it the frame glides a whole row
(24 f) between steps. The stage clips what the camera shows at y = 112 and
888. Two seconds at x2 without a change and the camera should not be there.
### The map and the working frame
The working frame's panels are windows onto the map's columns; the
minimap in its corner is the map at a twentieth, with the windows drawn on
it. Going between the two is the most cinematic move there is, and the
rule for it is the camera's: the viewer never loses where they are. So it
is one continuous move, in which nothing appears and nothing jumps: the
windows rise out of the map and become the panels while the map falls
away into the corner and becomes the minimap, the windows' outlines riding
on it. It is not a camera move on one world (the working frame is not a
crop of the map: there the source is over the disassembly, here beside
it) and not a `relayout` (that keeps the text's size): every panel has its
own path and its own scale.
`dive`, the map to the working frame:
| Frames | |
| --- | --- |
| before | the map is still and the caption that says where we are going has been up 60 f |
| 0 to 6 | the windows' outlines go bright |
| 6 to 24 | the rest of the map takes the veil, 50% |
| 24 to 96 | each window travels to its panel's place, its scale from a half to whole on its logarithm, `glide`; the panels set off 6 f apart in the frame's reading order (drawing, view, source, registers, disassembly, stack), each drawn over the ones before, so that two crossing are seen to cross. The map, veiled, travels the same 72 f to the minimap's place, its scale from a half to a twentieth |
| 72 to 96 | the drawing crossfades from the map's size to the frame's within its box |
| 84 to 102 | the working frame's tags, rules and lanes fade in; the veil on the map lifts as it lands; the clock's count fades in |
| 102 to 138 | still |
`surface` is the same backwards and a little quicker (the eye already
knows the map): the tags fade (12 f), the panels shrink into their windows
as the minimap grows to fill the frame (72 f, `glide`, the same stagger in
the reverse order), the veil lifts (12 f), 36 f still.
What is played on the map, and why:
- **A sprint**: `surface`, then the sprint on the map: the current row's
gold moves with the pc, the windows glide to follow it (8 f), strikes
appear as their small vermilion and fade; then `dive` at the stop it
reaches. On the map a sprint can be seen as a shape (the pc walking the
function, the stack growing down its column), which in the working frame
it could not.
- **A far `continue`**: where the windows' new places are farther than
their own heights, `surface`, the jump on the map (the gold goes out and
in at the new place, 6 and 6, the windows glide there, 36 f), `dive`.
- **A long run** may stay in the working frame; it surfaces only if it
leaves the windows.
In the working frame the minimap is secondary action: its windows glide
with their scrolls (24 f), a mark no window shows `flash`es on it once
(12 f) as it is struck, and nothing on it ever starts on a primary
onset's frame. A scene that opens on the map establishes it (0 to 48), its
first caption at 60, dives at 150, and has its first step by 300 (5.0 s).
### Captions, opening, closing
| | Frames |
| --- | --- |
| a caption leaves | 12, `exit` |
| nothing | 6 |
| a caption arrives, rising 8 units | 18, `enter` |
| on screen, from arrived to leaving | at least 90 + 3.6 a character; at most 720 |
| the stage stays still after it | 60; 120 after a scene's first |
| panels arrive at the opening | 18 each, 6 apart, all by 48; the drawing's elements by 54 |
| a scene's first caption arrives | at 60 |
| a scene's first step fires | by 240 |
| still on the last picture | 120, after the last caption's reading time |
## Tokens
Every figure on this page is a token in `anim/src/theme.zig` (`time`,
`bezier`, `pulse`), and the verbs of the [catalogue](README.md#6-verbs)
use the same figures. Where the file and the documents still differ is
listed once, under the catalogue's
[Token changes](README.md#token-changes).
Every figure is an even number of frames at 60, so a 30 fps export keeps
them whole. Review at 60 all the same: at 30, today's 0.25 s run alternates
steps of 7 and 8 frames.
## The five scenes
In each, most valuable first. Times are seconds into the exported file.
### fib
1. **The run is the scene.** 12.77 to 29.77: 68 steps at four a second,
each a single frame in which the mark jumps, a card and a node appear
and two registers flash solid ([sheet](motion/sheets/fib-12.8-run.png)).
55% of the running time. Ramp into a run (four steps), run only down the
first branch (about 12 steps, with a rest at each call), then sprint the
rest with registers veiled and the tree as the subject.
2. **No return is ever walked.** The three steps shown in full are three
calls. What recursion is *for*, an answer coming back in `rax` and a
card leaving, happens only inside the run. Slow to a walk for the first
return (`fib(1)`, at 14.8) and for the last (`fib(5)` = 5, at 29.77, now
a pop one second before the cut).
3. **Each walked step is one frame wide.** 2.27, 6.77, 11.27: mark, tree
node, card and two registers all start at the same frame and finish
within eight ([sheet](motion/sheets/fib-02.2-call-all-at-once.png)).
Sequence them as "A call pushed".
4. **Nothing is established.** Panels are whole at 0.43, the caption at
0.73, the first step at 0.77
([sheet](motion/sheets/fib-00.0-opening.png)). The panels must be in and the first
caption read before anything moves: see [Open](#the-rhythm-of-a-scene).
5. **1.5 s for everything.** 5.27 and 9.77 move one line and then wait
1.23 s; 2.27 pushes a call through four panels in the same time.
6. **The mark sweeps seven lines in five frames** at 2.27, 6.77, 11.27. A
call is a jump.
7. **The digit pop**, 0.80 s after each strike (1.57, 3.07, 4.57, ...):
bold ink to ordinary digits with faint zeros in one frame, alone on a
still picture.
8. One caption for 31 s. It needs three: the call, the return, the tree.
9. Ends 1.0 s after the answer arrives.
### list
1. **The reversal cannot be followed.** The scene exists to show three
`next` fields turning. The first turn is walked (22.50) and the other
two are in the run at 25.53 to 29.03, a frame each. Walk the first trip
round the loop, run the second with its eases and a rest, walk the third.
2. **Four panels on one frame**, every step: 5.27, 6.77, 21.00, 22.50
([sheet](motion/sheets/list-05.2-write-in-four-panels.png)). Memory
first (strip and words together), the node 18 f later, the mark last.
3. **The rewrite at 22.50 has no anticipation and two endings.** In the
words the old arrow vanishes on the strike's frame; in the nodes it goes
dashed for 0.8 s
([sheet](motion/sheets/list-22.5-pointer-rewritten.png)). Dash it during
the arm, in both.
4. **Things appear from nothing.** 2.27: the source panel is `main` on one
frame and `push` on the next
([sheet](motion/sheets/list-02.2-source-cut.png)). 5.27: a row of memory
exists, struck, where there was none. 11.27 to 14.50: two nodes arrive
in pops. Scroll, make room, fade in.
5. **Three empty steps in a row**: 16.50, 18.00, 19.50 each move one line
and wait 1.23 s, straight after the caption that promised the reversal.
At 0.8 s each they are a lead-in; at 1.5 they are 4.5 s of nothing.
6. Captions crossfade at 14.80 and 29.03: at 14.87 both are on screen, one
over the other.
7. Node bodies change pigment whenever `cur`, `prev` or `next` moves on:
colour changes that are not writes, every step of the loop. Keep the
pigment on the variable's tag and plaque.
8. The frees (30.77, then 35.27 to 38.03) are pops. Walk one, run two.
### sort
1. **The first swap is at 20.5 of 36.6 s.** Twelve walked steps (2.27 to
18.77) show three trips round the loop in which nothing swaps. Walk one,
run two, and reach the swap by 10 s.
2. **The caption about the swap arrives 0.2 s before it** (20.30, the
flights lift at 20.50). Bring it up at the rest before, and hold 2 s.
3. **The flights are a jump and a crawl.** Lift 0.10 s; two frames later
the cards are two fifths of the way; they spend their last eight frames
(0.27 s) on the final few units, hovering over the faint digits they are
about to replace
([sheet](motion/sheets/sort-20.4-swap.png)). `glide`, 30 f, the second
6 f behind the first.
4. **Both cells strike on one frame** (21.23) and their pulses merge into
one block. One lands, then the other; the pulse is an outset.
5. **36 steps, swaps and compares alike, in a 9 s strobe**, 26.53 to
35.27. Run two trips, sprint the rest, slow for the last swap.
6. Read frames from each compare stand through the rest and vanish in one
frame at the next step
([sheet](motion/sheets/sort-06.7-step.png), f202 to f203).
7. Every third step (5.27, 9.77, 14.27, 18.77) moves one line and waits
1.25 s.
8. The sorted array is on screen for 1.0 s and nothing says it is sorted.
### syscalls
1. **Effect before cause.** At the first frame of each step (3.77, 6.77,
9.77) the kernel's side already shows the new call, decoded, with its
card pushed ([sheet](motion/sheets/syscalls-03.7-kernel-pops.png)); the
arrow sets off afterwards. For `read`, `buf` is struck full at 3.77 and
the arrow comes back at 4.9 ([sheet](motion/sheets/syscalls-03.7-read.png)).
`write` already copies its bytes in order, after the arrow: that is the
model ([sheet](motion/sheets/syscalls-09.7-write.png)).
2. **Four calls in 13.8 s under one caption.** This is the richest scene
and the shortest. Each call wants its own line of caption, its own
2 s lead, and the 3.5 to 4.8 s the chart gives it: about 30 s.
3. **Everything on the kernel's side pops**: name, rows, list.
4. **3.0 s a call whatever it does.** `close` has one number in and one
out; `read` moves fifteen bytes.
5. The registers reload their arguments in one frame at the step's start,
unmarked. Frame them one at a time: they are what the caption is about.
6. Starts 0.04 s after its caption; ends 1.0 s after `write` returns.
### zoom
1. **The CPU level has nothing to show.** 5.2 to 8.8 at x2 on the
registers: `rip`'s digits change once (5.83, a pop) and `rdi` is struck
once (7.33) ([sheet](motion/sheets/zoom-05.3-at-x2-registers.png)). The
caption says "a handful of instructions" and no instruction is on
screen. Until a line can unfold into its instructions, put the
instruction in the head's `where`, and leave after the second step.
2. **Out and in again.** 8.83 to 11.43: back to x1, a caption crossfade in
the middle (10.07), in to the stack: 2.6 s of the whole frame moving to
go one panel to the right
([sheet](motion/sheets/zoom-08.7-out-and-in.png)). Fade through at x2.
3. **The subject is at the frame's edge.** 12.07: the return address is
struck in the bottom row, half under the caption band; 13.57 the row
above it ([sheet](motion/sheets/zoom-11.5-at-x2-stack.png)). The panel's
tag is out of frame, so nothing says this is the stack.
4. **16.57: the grid jumps.** The `fib` divider moves four rows, every row
shifts 20 units, `rsp`'s plaque teleports, and sixteen unknown bytes
become digits with no mark, all between two frames
([sheet](motion/sheets/zoom-16.5-rows-jump.png)).
5. **Four seconds of nothing** at x2, 19.1 to 23.1, after one byte is
struck at 18.07 ([sheet](motion/sheets/zoom-18.0-end.png)).
6. **The camera leaves unannounced** at 4.03, 0.03 s after a caption
arrives, with no frame on its target; the source and stack slide away
and the stack's edge stays in view
([sheet](motion/sheets/zoom-03.7-camera-in.png)).
7. Back at x1 (24.5) the memory caption is still up, one run step pops,
and the scene cuts 1.0 s later. "And back up" needs its own beat: the
mark on line 6 again, the three levels in view, 2 s.
8. Text under the zoom is steady
([sheet](motion/sheets/zoom-05.1-text-settles.png)): nothing to do.
## Stills
Seen while looking at motion; against `README.md`.
- **Camera at x2**: the neighbouring panel shows at the frame's edge (the
stack's divider and `rsp` plaque beside the registers, the source's
bottom rule above them); on the stack the last row is cut by the caption
band and the tag is out of frame. See "The camera".
- **Kernel argument names** come from a type, not the call: `close` and
`read` show their descriptor as `number`, `open` shows flags and mode
both as `pointer`. They are `fd`; `path`, `flags`, `mode`; `fd`, `buf`,
`count`.
- **`rax`'s role** reads `result` while it holds the call's number going
in. `number`, then `result` once it is struck.
- A pointer in the kernel's rows is twelve digits unbroken
(`7fffffffd8c0`); in fours, as everywhere.
- On `write` the user's bytes are not framed as read; they still carry the
ember of `read`, two calls and six seconds ago.
- **Types** are in Zig's spelling for a C program: `[8]i32`, `i32`. The
source says `int a[8]`.
- **Two panels titled `heap`** in `list` (the strip and the words).
- **Two dividers named `fib`** in the stack at x1: `fib(5)`, `fib(4)`.
- The call stack clips its sixth card; elide below ("2 more").
- Unknown bytes become known with a reflow and no transition (zoom, 16.57).
- A divider row inserted into the grid moves every row under it by 20
units. Give dividers a fixed place between rows.
## The ten changes
1. **Sequence the step.** Fire; effects one level at a time, 0.30 s apart,
each armed then struck; the mark last. The kernel's side included: no
effect before its cause.
2. **Time a step by its content** (0.8, 1.5, 2.0, 2.5 s) and rest a beat at
each phrase end.
3. **Rebuild run and sprint.** 0.30 s steps with the mark and structures
eased and values as embers; 24 steps at most; sprint beyond; ramp in over
four steps and out over three; veil what cannot be read; counter and
progress line.
4. **Let the picture and the caption be read.** The panels in by 0.9 s,
the first caption at 1.0 s, the first step by 4.0 s; 2 s after a
scene's first caption, 1 s after any other; each caption up for its
reading time and at most 12 s; captions leave, pause, arrive; 2 s on
the last picture.
5. **Walk the point of each scene once**: a return, each pointer turning, a
swap by 10 s, each system call under its own caption.
6. **Anticipate every write**: the arm, the fill over six frames, the pulse
as a 4-unit outset, the cool eased with the digits changing at its middle.
7. **New curves, and travel timed by distance**: `standard` 0.3, 0, 0.2, 1;
`glide` 0.45, 0, 0.55, 1; the mark 12 to 24 f or a jump; flights 30 to
48 f, the second six behind.
8. **Direct the camera**: frame the target, clear the stage, move, hold;
the tag and whole rows in frame with the action in the middle; sideways
by fading through; never 2 s at x2 without a change.
9. **Nothing pops into a layout**: make room, then arrive; scroll, never
cut; slide what persists; fade what becomes known.
10. **Show the instruction** at the CPU level, and review at 60 frames a
second.
## The instruments
[`motion/motion.py`](motion/motion.py): ffmpeg, numpy, Pillow. Regions and
crops are in design units.
```sh
cd design/motion
python3 motion.py chart VIDEO --out charts # the chart, the events, the checks
python3 motion.py auto VIDEO --out tmp/auto # and a contact sheet of every event
python3 motion.py sheet VIDEO 20.4 21.4 --step 2 --crop 400,160,1120,368
python3 motion.py sheet VIDEO f66 f77 --diff # what changed, white on the frame dimmed
python3 motion.py onion VIDEO f614 f636 --crop 400,160,1120,368 # every frame of a move in one picture
python3 motion.py track VIDEO f139 f158 --color e8c46a # a colour's box and centre, frame by frame
```
`chart` compares each frame with the one before, in each region of the
scene's layout (a table at the top of the script, keyed by the video's
name; add a scene there). A pixel *moved* if a channel changed by more than
24 of 255 and is *fading* if by more than 6. The picture is one bar a
frame and one strip a region: solid for moving, outlined for fading, holds
shaded with their length. The text lists every event with the first and
last frame of each region in it, which is where simultaneity shows, and
ends with the checks:
| Check | Fires when | Wants |
| --- | --- | --- |
| POP | over 0.2% of the frame changes within two frames, still either side | easing, or a smaller change |
| CROWD | three or more panels begin within two frames of each other | the cascade |
| METRONOME | seven or more events of over 0.5% of the frame, evenly spaced | content-timed steps, phrase rests |
| RUSH | a panel moves within a second of a caption arriving | the caption's lead |
| AIR | nothing changes for three seconds | a shorter hold, or something to say |
A scene is ready for eyes when all five are empty or each remaining line
is deliberate. They are not taste: a chart can pass and still be dull.
Limits: regions are fixed on the screen, so under a camera move their
names stop meaning panels; `track` follows a colour, so crop to one object
(its box columns are the honest ones when two share the colour); the
thresholds suit x264 at the export's quality and will need loosening for a
harder encode. x264's default keyframe every 250 frames shows as a
one-frame change in every region every 4.17 s: the encoder, not the
scene; export with `-g 600`.
What is kept: `motion/charts/` (chart, events and per-frame counts for the
five scenes as reviewed) and `motion/sheets/` (the sheets this page
cites, named scene, second, what). `motion/tmp/` is scratch.
|