code wiki / _hdl_build / nx_viz_contour.nx
nx_viz_contour.nx
buildroot/runtime/_hdl_build/nx_viz_contour.nx
about
nx_viz_contour.nx -- the GEO-CONTOUR layer of the sovereign Nishi viz library (the d3-contour core, bits-up).
Marching squares: classify each grid cell's 4 corners vs a threshold -> 4-bit case -> contour line segments
across the cell edges (0=top 1=right 2=bottom 3=left). Pure integer. Closes geo-contour. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_viz_contour_gate.nx
structs
| none |
consts
| none |
functions
| 7 | func vc_ms_case(tl: i64, tr: i64, br: i64, bl: i64, t: i64) -> i64 called by 1: main |
| 16 | func vc_ms_segs(c: i64, segs_out: *i64) -> i64 called by 1: main |
| 35 | func main() -> i64 { return 0 } |