code wiki / _hdl_build / nx_person_face_gate.nx

nx_person_face_gate.nx

buildroot/runtime/_hdl_build/nx_person_face_gate.nx

6308 B134 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_person_face_gate.nx -- the emitted person gets the REAL HEAD: sdf_person = A-posed body + grafted face/hair/eyes via PER-PART BLEND (O_KB2 -- limbs fuse at k130 while facial features hold k8 in the SAME field). Proves: renders whole; the head carries EYES (blue-leaning material px, impossible from skin) and HAIR (dark warm-brown px) at BODY scale; close-up frames the face; deterministic; critic stays honest. license_tier: ORIGINAL expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_sdfrender.nx nx_critic_axes.nx nx_png.nx nx_person_face_gate.nx

imports: nx_syscalls.nxnx_sdfrender.nxnx_critic_axes.nxnx_png.nx

imported by: nobody (leaf or entry point)

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

main ww hh hw sys_write sys_mmap sdf_bytes fb_off sdf_person sdf_person2 sdf_body sdf_clear_ops sdf_set_floor sdf_set_mtx_amp sdf_set_kb sdf_face sdf_clear_ops ↻ sdf_set_floor ↻ sdf_set_mtx_amp ↻ sdf_set_op sdf_set_mat sdf_set_rot it_cos4096 it_sin4096 it_sin4096 ↻ sdf_face_hairstyle sdf_set_mat ↻ sdf_set_kb ↻ sdf_render sdf_render_rows it_cos4096 ↻ it_sin4096 ↻ sdf_isqrt sdf_shade_ray sdf_eval sdf_ellip sdf_isqrt ↻ sdf_ellip_rot sdf_isqrt ↻ sdf_smax

structs

none

consts

none

functions

11func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
12func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
24func eye_px(fb: *i64, w: i64, h: i64) -> i64
called by 1: main calls 1: ca_lum
36func hair_px(fb: *i64, w: i64, h: i64) -> i64
called by 1: main calls 1: ca_lum
49func fb_sum(fb: *i64, w: i64, h: i64) -> i64
called by 1: main
58func heads10_of(base: i64) -> i64
called by 1: main
77func main() -> i64