code wiki / _hdl_build / nx_char_identity_sheet.nx

nx_char_identity_sheet.nx

buildroot/runtime/_hdl_build/nx_char_identity_sheet.nx

13249 B270 linesdepth 5pulls 11 transitivereach 0 importersview sourcekind tooltopic char
docsdependenciesstructsconstsfunctions

about

nx_char_identity_sheet.nx -- the LOOK-AT-IT proof for the identity vector. Numeric gates cannot see framing (this lane has been burned 3x by that), so this emits the sheet a character artist would ask for: ONE identity rendered across four art styles (she must stay recognisably herself), a CAST row of distinct identities (they must not be one woman recoloured), and a genetics row showing sisters whose alleles differ. Every figure is drawn from the SAME dial vector via the same draw call. license_tier: ORIGINAL

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_char_identity.nx nx_game_raster.nx nx_game_art.nx nx_game_critic.nx nx_anatomy_critic.nx nx_png_write.nx nx_char_identity_sheet.nx

imports: nx_syscalls.nxnx_char_identity.nxnx_game_raster.nxnx_game_art.nxnx_game_critic.nxnx_anatomy_critic.nxnx_png_write.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ art_nebula art_clampb gr_pack gr_pack ↻ gr_rect gr_text font8x8_table sys_mmap ↻ fg gr_glyph font8x8_table ↻ gr_px font8x8_adv font8x8_ink_w idv_from_seed sys_mmap ↻ idv_rng gr_num font8x8_table ↻ gr_glyph ↻ font8x8_adv ↻ sys_mmap ↻ idv_key draw_figure

structs

none

consts

15const SW: i64 = 720
16const SH: i64 = 460

functions

18func sp2(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: snlmain calls 1: sys_write
19func sn2(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
33func snl() -> i64 { sp2("\n" as *u8); return 0 }
called by 1: main calls 1: sp2
35func isqrt2(n: i64) -> i64
44func fig_ell(fb: *i64, cx: i64, cy: i64, rx: i64, ry: i64, r: i64, g: i64, b: i64) -> i64
called by 1: draw_figure calls 3: idv_clampgr_pxgr_pack
71func draw_figure(fb: *i64, idv: *i64, style: i64, ox: i64, oy: i64, hgt: i64) -> i64
144func sheet_png(fb: *i64, path: *u8) -> i64
called by 1: main calls 2: sys_mmapnx_png_write_rgb
158func main() -> i64