nx_xfade_demo.nx
buildroot/runtime/nx_xfade_demo.nx
about
nx_xfade_demo.nx -- VISIBLE proof of R4: crossfade two REAL gallery photos
with the SMOOTHSTEP curve and write 5 BMPs (0/25/50/75/100%) you can open on
Windows to SEE the smooth dissolve. Decodes real PNGs, blends via
nx_xfade_frame, writes via nx_bmp. Sovereign throughout.
Output: knowledge/staging/media/xfade_0.bmp .. xfade_4.bmp
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_image.nxnx_png_decoder.nxnx_gradient_blend.nxnx_transition.nxnx_bmp.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
| 14 | func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func gn(v: i64) -> i64 |
| 29 | func png2img(path: *u8) -> *Image |
| 46 | func main() -> i64 |