code wiki / _hdl_build / nx_person_face_gate.nx
nx_person_face_gate.nx
buildroot/runtime/_hdl_build/nx_person_face_gate.nx
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
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
structs
| none |
consts
| none |
functions
| 11 | 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 } |
| 12 | func pn(v: i64) -> i64 |
| 24 | func eye_px(fb: *i64, w: i64, h: i64) -> i64 |
| 36 | func hair_px(fb: *i64, w: i64, h: i64) -> i64 |
| 49 | func fb_sum(fb: *i64, w: i64, h: i64) -> i64 called by 1: main |
| 58 | func heads10_of(base: i64) -> i64 called by 1: main |
| 77 | func main() -> i64 |