code wiki / _hdl_build / nx_vn_art.nx

nx_vn_art.nx

buildroot/runtime/_hdl_build/nx_vn_art.nx

4677 B96 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic vn
docsdependenciesstructsconstsfunctions

about

nx_vn_art.nx -- the ecosystem GENERATES a VN background (the visuals gap, attacked honestly): a procedural dusk-storm lighthouse scene, integer-rastered (NO float) into a packed-RGB framebuffer, then written as a sovereign PNG (our own nx_png encoder). It is served as a same-origin static image (CSS background-image, NOT a JS blit, NOT a third-party fetch) on the live VN. Honest scope: PROCEDURAL atmosphere, not hand-painted CG -- a real step from styled-text to generated art, the first rung of VN visuals. license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_shade.nx nx_png.nx nx_vn_art.nx

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

main sys_mmap va_bg frect sh_rgb sh_r sh_g sh_b sys_mkdir write_png sys_mmap ↻ png_g png_paeth png_sabs dfe_compress sys_mmap ↻ dfe_fill_tables dfe_deflate sys_mmap ↻ dfe_bits dfe_hash dfe_matchlen dfe_sym dfe_bits ↻ dfe_rev dfe_rev ↻ sys_munmap sys_munmap ↻ png_be32 png_adler32 png_crc32 sys_openat_wr sys_write sys_close aw sys_write ↻ sys_exit

structs

none

consts

none

functions

10func aw(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 1: main calls 1: sys_write
11func frect(fb: *i64, w: i64, h: i64, x0: i64, y0: i64, x1: i64, y1: i64, c: i64) -> i64
called by 1: va_bg
18func va_bg(fb: *i64, W: i64, H: i64) -> i64
called by 1: main calls 5: frectsh_rgbsh_rsh_gsh_b
88func main(argc: i64, argv: *i64) -> i64