code wiki / _hdl_build / nx_viz_scale_gate.nx
nx_viz_scale_gate.nx
buildroot/runtime/_hdl_build/nx_viz_scale_gate.nx
about
nx_viz_scale_gate.nx -- REFEREE for the scales layer (KAT for the d3-scale equivalent).
T1 linear: 50 in [0,100] -> 250 in [0,500]; endpoints exact
T2 band: 4 cats over [0,400] -> band2 start=200, width=100
T3 sequential color: black->white at 500permil = 0x7f7f7f; endpoints exact
T4 ticks: 5 ticks over [0,100] = 0,25,50,75,100
GREEN iff T1..T4. Sovereign: nx_viz_scale + nx_syscalls. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_viz_scale.nxnx_syscalls.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 11 | func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 12 | func g_row(name: *u8, ok: i64) -> i64 |
| 19 | func main() -> i64 |