nx_persongen.nx
buildroot/runtime/nx_persongen.nx
about
nx_persongen.nx -- ★GENERATIVE PERSON FACTORY (operator north star 2026-07-08: "generate a model from the
bones up ... a daz-like photoreal model WITHOUT a photo reference as a NEW generative person"). A SEED grows a
UNIQUE novel human FACE, built bones-up (nx_faceanat = skull landmarks + tissue-depth), by driving the
anatomical morphs + skin tone from a deterministic PRNG. NO photo input -- a person who never existed. Same
seed -> same person (a reproducible identity); different seed -> a different person. This is the DAZ-equivalent
GENERATION (parametric identity), sovereign. (Photoreal skin micro-detail = the texture-synthesis rung on top;
this rung owns the IDENTITY generation bones-up.) license_tier: ORIGINAL
dependencies 1 imports · 2 importers
imports: nx_faceanat.nx
imported by: nx_persongen_gate.nxnx_persongen_render_gate.nx
structs
| none |
consts
| 9 | const K_MAGIC_6364136223846793005: i64 = 6364136223846793005 |
| 10 | const K_MAGIC_1442695040888963407: i64 = 1442695040888963407 |
| 11 | const K_MAGIC_2147483647: i64 = 2147483647 |
| 12 | const K_MAGIC_2654435761: i64 = 2654435761 |
| 13 | const K_MAGIC_1013904223: i64 = 1013904223 |
functions
| 16 | func pg_next(st: *i64) -> i64 |
| 22 | func pg_seed(st: *i64, seed: i64) -> i64 |
| 27 | func pg_range(st: *i64, lo: i64, hi: i64) -> i64 { return lo + pg_next(st) % (hi - lo + 1) } |
| 28 | func pg_clamp(v: i64, lo: i64, hi: i64) -> i64 { if v < lo { return lo } if v > hi { return hi } return v } called by 1: persongen_build |
| 32 | func persongen_build(base: i64, seed: i64, skinout: *i64, idout: *i64) -> i64 called by 2: mainmain calls 11: pg_seedpg_rangefaceanat_buildfaceanat_morph_widthfaceanat_morph_lengthfaceanat_morph_jaw+5 |