summaryrefslogtreecommitdiff
path: root/anim/scenes/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to 'anim/scenes/sqlite.zig')
-rw-r--r--anim/scenes/sqlite.zig10
1 files changed, 8 insertions, 2 deletions
diff --git a/anim/scenes/sqlite.zig b/anim/scenes/sqlite.zig
index e19a7be..36630bd 100644
--- a/anim/scenes/sqlite.zig
+++ b/anim/scenes/sqlite.zig
@@ -103,7 +103,7 @@ fn frame(s: *anim.Frame) void {
const start = stopAt(rec, "sqlite3_step+", first);
var at = canim.cursor(s, rec, start);
- at.levels = .{ .source_rows = 10 };
+ at.levels = .{ .source_rows = 8 };
at.journey(.moment, back);
// The lens is the subject: the backtrace, eleven rows, over the
// program column (where the kernel's side comes later), and over the
@@ -213,7 +213,13 @@ fn frame(s: *anim.Frame) void {
fade.in(s, kernel);
s.wait(t.beat);
const crossing = canim.syscalls.Plan.of(write);
- at.step(s, back, crossing.step(), crossing.total);
+ // Back in `unixWrite`, 44 lines up from the call it waited on (more
+ // than the map's column of sqlite3.c holds round it): the panes fade
+ // through (24 f each way), the strips going over first.
+ var coming_back = crossing.step();
+ coming_back.travel = 2 * t.move;
+ coming_back.total += coming_back.travel - t.step;
+ at.step(s, back, coming_back, coming_back.total);
// Each field as the caption reaches it, 2 s apart: the picture is never still longer.
says.line(s, "Page 2 as the kernel took it: `0d`, a table's leaf; 3 cells,\nat `0ff7 0fef 0fe6`: each a row at the page's end.");