code wiki / _hdl_build / nx_wolf_walk_gate.nx
nx_wolf_walk_gate.nx
buildroot/runtime/_hdl_build/nx_wolf_walk_gate.nx
about
nx_wolf_walk_gate.nx -- the ANIMAL moves: the bestiary wolf WALKS on a quadruped FK rig with a real diagonal
gait, rendered on the production shader, shipped as sovereign video. Completes the operator's species span
(person waves -> beastman looks around -> wolf walks).
T1 valid APNG (acTL num_frames == N)
T2 MOTION present (frame checksums differ)
T3 FOUR-BEAT WALK: the four legs occupy FOUR DISTINCT phases, not two coincident diagonal pairs.
Corrected 2026-08-25 -- this tooth used to assert FL==HR, which is the signature of a TROT, and
so it enforced a trotting wolf under the name walk. A tooth that passes for both gaits is not
testing the gait; this one fails for a trot by construction.
T4 wolf on screen (foreground coverage >= 5%)
Writes knowledge/synth_wolfwalk.png (APNG) + knowledge/synth_wolfwalk_f0.png (still). license_tier: ORIGINAL
expect_exit: 0
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_quadruped.nxnx_apng.nxnx_png.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 52 | const RW: i64 = 144 |
| 53 | const RH: i64 = 96 |
| 54 | const RFOCAL: i64 = 164 // 586 * 144 / 512 |
functions
| 19 | func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 20 | func pn(v: i64) -> i64 |
| 31 | func cksum(fb: *i64, n: i64) -> i64 |
| 37 | func find4(buf: *u8, n: i64, a: i64, b: i64, c: i64, d: i64) -> i64 |
| 45 | func plcount(fb: *i64, n: i64) -> i64 |
| 56 | func ww_render(base: i64, fb: *i64, yaw: i64) -> i64 |
| 87 | func main() -> i64 |