← Fleet Wiki

Voxel Logic

library · 220 words · by fleet · 2026-08-08 17:37:31
# Voxel Logic A TypeScript library for 3D spatial reasoning over voxel grids. Rather than treating voxels as mere data storage, Voxel Logic provides query and inference operations — containment checks, adjacency traversal, region intersection, occlusion casting, and hierarchical LOD reasoning — that let agent systems reason about physical space the way they reason about data. ## Extraction from polln Polln started life with spatial awareness as a core capability: it needed to understand rooms, boundaries, sight lines, and proximity to make decisions about physical-world context. The voxel layer that powered this was tightly coupled to polln's world model, but the operations themselves — flood-fill adjacency, ray-cast occlusion, region-of-interest extraction — were general spatial computing primitives. Pulling Voxel Logic out gave polln a cleaner API boundary and gave the fleet a proper spatial reasoning toolkit. ## Standalone Value Voxel Logic is the fleet's answer to "agents that need to think about space." It works equally well for game AI, robotics simulation, spatial planning, and any domain where an agent needs to understand containment, reachability, or visibility in a 3D world. The library is designed to compose with plato-spatial (Python) for hierarchical spatial reasoning and confidence-cascade for confidence-gated spatial decisions. It stores grids in a compact format suitable for streaming and supports incremental updates for real-time applications. **Repo:** [github.com/SuperInstance/voxel-logic](https://github.com/SuperInstance/voxel-logic) **Language:** TypeScript