diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 08:28:40 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 0a2694e935fa8a79f1a399f2d2cbc643f8c3734e (patch) | |
| tree | 994775a97465d4ad279a8b13b848a2368b9a430b /src/ninep/tree.zig | |
| parent | 6f7c79650857da578b9e6f8c49c772eb7c40bcae (diff) | |
| download | pardes-0a2694e935fa8a79f1a399f2d2cbc643f8c3734e.tar.gz pardes-0a2694e935fa8a79f1a399f2d2cbc643f8c3734e.zip | |
G13: Parallax, lapis's dots drift with the text at a quarter of its speed
Parallax on|off (off, a pixel shell's; Chrome.fx bit 3). A body region
carries its first line (Region.line, a file's scroll or a terminal's grid
offset; the wire's region record grows a u32). The GUI offsets each
body's page dots by a quarter of its line in rows, and of G6's glide
offset while one runs, so the pattern drifts with the text and settles
with it; the cell shader reads it from the instance's serial slot, whose
per-cell dissolve noise G7 left unused (the dead noise code goes).
Tests: a scrolled body tells its line; the shift handed to the shader is
a quarter of it within the dots' period. Measured in a capture: four lines
move the dots 13 px (140 px / 4 mod 22). Gates as before, goldens
byte-identical. Feel review: .scratch/render/parallax/.
Diffstat (limited to 'src/ninep/tree.zig')
0 files changed, 0 insertions, 0 deletions
