code wiki / (root) / nx_transition_gate.nx

nx_transition_gate.nx

buildroot/runtime/nx_transition_gate.nx

5174 B120 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_transition_gate.nx -- REFEREE for R4 (nx_transition). Solid frames A=(200,40,0), B=(0,80,200), 8x8x3. Asserts: xfade@0 == A exactly (pure A end) xfade@Q == B exactly (pure B end) xfade@Q/2 LINEAR == midpoint (100,60,100) xfade@Q/2 SMOOTHSTEP == midpoint too (smoothstep(0.5)=0.5) xfade@Q/4 LINEAR != xfade@Q/4 SMOOTHSTEP (the easing curve actually bends) fade@0 == black (0,0,0) ; fade@Q == A (fade-in endpoints) Every value PRINTED. stdout + knowledge/status/transition_gate.log. Exit 0/1. Sovereign: nx_syscalls + nx_image + nx_gradient_blend + nx_transition. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_image.nx nx_gradient_blend.nx nx_transition.nx nx_transition_gate.nx

imports: nx_syscalls.nxnx_image.nxnx_gradient_blend.nxnx_transition.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_append gp sys_write nx_image_alloc sys_mmap fill nx_image_set nx_xfade_frame nx_image_get nx_gradient_blend_q14 nx_gb_curve_is_valid _gb_curve_linear _gb_curve_smoothstep _gb_curve_ease_in_out _gb_curve_sharp _gb_curve_crenulate_fallba _gb_curve_smoothstep ↻ nx_image_set ↻ nx_image_get ↻ gn sys_mmap ↻ sys_write ↻ nx_fade_frame nx_image_get ↻ nx_gradient_blend_q14 ↻ nx_image_set ↻ sys_close sys_exit

structs

none

consts

none

functions

17func gp(logfd: i64, s: *u8) -> i64
called by 1: main calls 1: sys_write
24func gn(logfd: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
38func fill(img: *Image, r: i64, g: i64, b: i64) -> i64
called by 1: main calls 1: nx_image_set
48func main() -> i64