Tessect
The Fourth Dimension
Tessect is a custom-engineered, true 4-dimensional game engine written from scratch in Java. Standard 3D engines fake higher dimensions using non-Euclidean portal tricks or simple rendering illusions. Tessect does not fake it. The simulation inherently accounts for the W-axis (ana/kata) at the deepest mathematical level. Every entity, kinematic body, and spatial partition exists in a mathematical hyper-volume.
Architecture & Projection Layer
The engine is built upon a strict, cache-friendly Entity-Component-System (ECS). Standard 3D physics libraries are useless here; all collision detection and resolution are handled by bespoke 4D solvers, specifically custom implementations of GJK4D (Gilbert-Johnson-Keerthi) and EPA4D (Expanding Polytope Algorithm).
We utilize LibGDX strictly as a hardware abstraction and projection layer. The 3D graphics you see on screen are merely a cross-sectional slice of the true 4D simulation. At the rendering boundary, 4D geometry (using Vector4, Bivector4, Hyperplane4, and Rotor4) is mathematically downcast into 3D space to be uploaded to the GPU.
The Zero-Allocation Mandate
Because Tessect runs on the JVM, Garbage Collection (GC) pauses are treated as catastrophic failures. The engine enforces a strict Zero-Allocation policy during the update and render loops. There are no new keywords during gameplay. All ephemeral data—such as manifold contacts and physics nodes—are managed via strict Object Pooling. Data structures rely on flat primitive arrays rather than standard Java collections to ensure maximum CPU cache locality.
Experience the projection layer directly in your browser via TeaVM (WebAssembly).
Launch Demo on itch.ioFuture Roadmap
Currently, our focus is optimizing the 4-dimensional spatial partitioning algorithms (Hyper-Octrees) and refining the TeaVM WebAssembly compilation pipeline to ensure native-like execution speeds in the browser. Future milestones include a fully deterministic 4D rigid body dynamics system and complex hyper-terrain generation.
Architecture Graph
[ Interactive Obsidian Network Graph Container ]