code wiki / _hdl_build / nx_faceanat_morph_gate.nx
nx_faceanat_morph_gate.nx
buildroot/runtime/_hdl_build/nx_faceanat_morph_gate.nx
about
nx_faceanat_morph_gate.nx -- ★B-R6 PARAMETRIC MORPH BASIS (operator: our own base mesh better than DAZ). Prove
distinct IDENTITIES from ONE anatomical base by DELTAS on the canon/tissue-depth numbers -- a parametric
morphable model (the census's 'learned shape basis' gap) built from anatomy. DAZ ships fixed artist-sculpt
morphs; ours are adjustable anthropometric axes (width/length/jaw/eyes/lips/cheek), MEASURED.
T1 pct=100 morph is IDENTITY (no geometry change) -- additive, zero regression
T2 a morph MEASURABLY changes geometry (width 120 grows the face x-extent ~20%; symmetry preserved)
T3 ★3 distinct IDENTITIES render as 3 different faces (pairwise render-diff), each a valid figure
T4 morphs COMPOSE + a morphed identity still MESHES WATERTIGHT (Euler) + determinism + 3-up PNG
license_tier: ORIGINAL expect_exit: 0
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_sdfrender_mt.nxnx_faceanat.nxnx_makeup.nxnx_meshgen.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
| 18 | 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 } |
| 19 | func pn(v: i64) -> i64 { let b: *u8=sys_mmap(32) as *u8; var x: i64=v; var ng: i64=0; if x<0{ng=1;x=0-x} var i: i64=31; if x==0{b[i]=48 as u8;i=i-1} while x>0{b[i]=(48+x%10) as u8;x=x/10;i=i-1} if ng==1{b[i]=45 as u8;i=i-1} sys_write(1,(b as i64+i+1) as *u8,31-i); return 0 } |
| 20 | func fbdiff(a: *i64, b: *i64, n: i64) -> i64 { var d: i64=0; var i: i64=0; while i<n { if a[i]!=b[i] { d=d+1 } i=i+1 } return d } called by 1: main |
| 22 | func xextent(base: i64) -> i64 called by 1: main |
| 30 | func build_id(base: i64, id: i64) -> i64 |
| 39 | func main() -> i64 |