code wiki / _hdl_build / nx_wasm_physlab_html.nx

nx_wasm_physlab_html.nx

buildroot/runtime/_hdl_build/nx_wasm_physlab_html.nx

4567 B31 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind orphan librarytopic wasm
docsdependenciesstructsconstsfunctions

about

nx_wasm_physlab_html.nx -- SOVEREIGN packager for PHYSLAB (the visible phys3d+softjiggle surface). Emits a self-contained .html whose JS is LOGIC-FREE (operator law): the wasm owns physics/jiggle/render; the page only passes raw mouse state (canvas-scaled coords + button bits) and blits the framebuffer per rAF. usage: nx_wasm_physlab_html <in.wasm> <out.html>. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_base64.nx nx_wasmfit.nx nx_wasm_physlab_html.nx

imports: nx_syscalls.nxnx_base64.nxnx_wasmfit.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

9func 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 }
11func main(argc: i64, argv: *i64) -> i64