code wiki / _hdl_build / nx_char_gen.nx
nx_char_gen.nx
buildroot/runtime/_hdl_build/nx_char_gen.nx
about
nx_char_gen.nx -- a SOVEREIGN parametric CHARACTER generator (our analog to a DAZ Genesis figure: a character
from PARAMETERS, rendered to a 2D portrait by our OWN integer rasterizer -- no DAZ, no third-party, no float).
Top VNs (Being a DIK etc.) pose+render reusable 3D figures to 2D stills; this is the first rung of doing that
sovereignly: params (skin/hair/hairstyle/eyes/outfit) -> a stylized VN portrait PNG. HONEST: stylized 2D, not
photoreal 3D -- but it PROVES a reusable parametric pipeline (same code, different params -> different
characters). license_tier: ORIGINAL expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_shade.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 aw(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 frect(fb: *i64, w: i64, h: i64, x0: i64, y0: i64, x1: i64, y1: i64, c: i64) -> i64 called by 1: portrait |
| 18 | func efill(fb: *i64, w: i64, h: i64, cx: i64, cy: i64, rx: i64, ry: i64, c: i64) -> i64 called by 1: portrait |
| 33 | func portrait(fb: *i64, W: i64, H: i64, skin: i64, hair: i64, hstyle: i64, eyec: i64, outfit: i64) -> i64 |
| 61 | func main(argc: i64, argv: *i64) -> i64 |