code wiki / _hdl_build / nx_asset_exceed.nx
nx_asset_exceed.nx
buildroot/runtime/_hdl_build/nx_asset_exceed.nx
about
nx_asset_exceed.nx -- MEASURED exceed census of our sovereign asset generator vs the DAZ/Renderosity workflow.
Per the capability-exceed doctrine: an exceed = measurably better AT A JOB, not just "sovereign". We do NOT
claim to beat DAZ overall -- we grade per-axis and are HONEST where DAZ wins. LIAR-KILL: the census REFUSES to
grade photoreal-fidelity as an exceed (stylized-2D cannot out-fidelity 3D PBR); a planted fidelity-exceed claim
is caught. EXCEED axes are the DAZ workflow's real weaknesses (uniqueness/cost/license/determinism/automation/
weight); BEHIND axes are DAZ's real strengths (fidelity/breadth/posing) -- the honest climb. license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 8 | const K_MAGIC_1103515245: i64 = 1103515245 |
| 9 | const K_MAGIC_12345: i64 = 12345 |
| 10 | const K_MAGIC_32767: i64 = 32767 |
| 11 | const K_MAGIC_20260623: i64 = 20260623 |
| 12 | const K_MAGIC_7919: i64 = 7919 |
functions
| 14 | func w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 15 | func wn(v: i64) -> i64 { var m: i64=v; if m<0{w("-" as *u8);m=0-m} let t:*u8=sys_mmap(24); var k:i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i:i64=0; let o:*u8=sys_mmap(24); while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 } |
| 16 | func lcg(s: *i64) -> i64 { var x: i64=s[0]; x=x*K_MAGIC_1103515245+K_MAGIC_12345; s[0]=x; return (x>>16)&K_MAGIC_32767 } called by 1: dna |
| 17 | func dna(s: *i64) -> i64 { let sk: i64=lcg(s)%4; let ha: i64=lcg(s)%6; let hs: i64=lcg(s)%3; let ey: i64=lcg(s)%4; let ft: i64=lcg(s)%5; return ((sk*6+ha)*3+hs)*20 + ey*5 + ft } |
| 19 | func main(argc: i64, argv: *i64) -> i64 |