Back to browse
GitHub Repository
2 starsC++

Synergetic-SQR – A 4D rendering engine with bit-exact rotation

by j291920·Feb 25, 2026·1 point·0 comments

AI Analysis

●●SolidBig BrainWizardryNiche Gem

Bit-exact rotations via surd field extension, but is the problem worth solving?

Strengths
  • Genuine numerical insight: rational surd arithmetic provably eliminates transcendental drift that standard float matrices accumulate over time.
  • Rigorous proof: 60-degree rotations cycle back to bit-identical state after 360°, with 10x lower error than quaternions over 280s benchmarks.
  • Novel mathematical foundation: Janus Polarity (5-parameter rotor with sign resolution) is a thoughtful formalization of the tetrahedral double-cover problem.
Weaknesses
  • Unclear practical value: long-running graphics simulations rarely need bit-perfect rotation stability; most use cases re-orthogonalize or use double precision.
  • Niche audience overlap: Synergetic Geometry is philosophically deep but has zero adoption in production graphics; this solves a problem few face.
Target Audience

Graphics programmers, numerical stability researchers, geometry enthusiasts, simulation developers

Similar To

Metal-cpp backends (Cesium, Babylon.js Metal support) · Geometric Algebra libraries (Ganja.js, Versor) · Precision-focused renderers (double-precision OpenGL paths)

Post Description

I’ve been exploring the intersection of alternative geometry and numerical stability. This is a proof-of-concept 3D renderer that abandons the standard Cartesian (XYZ) basis in favor of Buckminster Fuller’s Synergetic Geometry (a 4D tetrahedral coordinate system).

I’m not a professional graphics programmer, so I worked with Gemini CLI to pair-program the core engine and the Metal-cpp boilerplate. We based the math on Andrew Thomson’s 2026 framework for Spread-Quadray Rotors (SQR).

The Core Problem: Standard graphics engines rely on sin/cos approximations. Every time you rotate an object, floating-point error (transcendental drift) accumulates. Over long-running simulations, the geometry literally "warps."

The Solution: By implementing Andrew’s framework using a Rational Surd field extension (Q[sqrt(3)]), we’ve achieved bit-exact rotation.

Paper: https://www.researchgate.net/publication/400414222_Spread-Quadray_Rotors_-v11_ Feb_2026_A_Tetrahedral_Alternative_to_Quaternions_for_Gimbal-Lock-Free_Rotatio n_Representation

Key Features: * Algebraic Determinism: A startup benchmark proves that rotating 360 degrees returns the engine to the exact starting bit-pattern. * Surd-Native Shaders: The Metal kernel performs algebraic arithmetic natively on the GPU, avoiding transcendental approximations. * Linear Jitterbugging: The complex VE-to-Octahedron transformation is handled as a simple linear interpolation in 4D space. * Topological Stability: In a live 60FPS loop, the SQR system is ~10x more stable than an industry-standard matrix.

Similar Projects