code wiki / _hdl_build / nx_gen_explorer.nx
nx_gen_explorer.nx
buildroot/runtime/_hdl_build/nx_gen_explorer.nx
about
nx_gen_explorer.nx -- ★R10: a PUBLIC interactive generate front-end over the unified nx_gen surface. Renders a
matrix of assets across the parameter space (tree species x seed, creature plan x seed, figures, faces) via
nx_gen, bakes each into a self-contained page with an interactive picker (kind tabs + param buttons + seed
thumbnails + a big preview + a real per-asset DOWNLOAD) -- this is Infinigen's "downloadable pre-generated data"
offering, made interactive, on OUR generator. Worlds are excluded here (heavy ray-march; covered by /world).
license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_png.nxnx_base64.nxnx_gen.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
| 11 | const K_MAGIC_2026: i64 = 2026 |
functions
| 13 | func hw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd, s, n); return 0 } |
| 14 | func hn(fd: i64, v: i64) -> i64 { let b: *u8=sys_mmap(32) as *u8; var x: i64=v; 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} sys_write(fd,(b as i64+i+1) as *u8,31-i); return 0 } |
| 18 | func emit_asset(fd: i64, kind: i64, seed: i64, p0: i64, plabel: *u8, tile: *i64, scratch: *u8) -> i64 |
| 49 | func main() -> i64 |