nx_voronoi_test.nx
buildroot/runtime/nx_voronoi_test.nx
about
nx_voronoi_test.nx -- smoke for 2D Voronoi.
Validates:
1. Per-pixel labelling assigns to nearest site
2. Site at own coords gets labelled to itself
3. Pixels exactly equidistant deterministically pick first-found
4. Per-site counts sum to canvas size
5. CV classifier produces a valid sealed-enum band
6. Composition with nx_poisson_disk_sample (sites from poisson)
7. Sealed-enum validity gate
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_poisson_disk.nxnx_voronoi.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
| 17 | func main() -> nx_int { |