Expand description
3D PGA motors as dual quaternions — CPU oracle for projector.wgsl Phase 2b+.
Motor { r, d } packs the even subalgebra: rotation (r) + translation (d).
When d == 0, sandwich_point reduces to the Phase 1 quaternion path.
Phase 2c: bilateral T_pull via motor_translate composed after intrinsic R_w · R_q.
Phase 3: v-band topology (R_toroidal, T_radial, T_anchor) inside intrinsic stack.
Structs§
- Motor
- PGA motor — matches WGSL
Motor { r: vec4, d: vec4 }.
Functions§
- bilateral_
pull_ active - Bilateral
T_pullmagnitude gate — node lane + authenticated Human-Centric standpoint. - blade4_
to_ quat - Map motor
rordvec4(s, e12, e13, e23)→ quaternion(w, x, y, z). - cluster_
centroid_ lattice - Deterministic centroid lattice for boundary cliques — matches WGSL (no extra SSBO in Phase 3).
- cluster_
id_ from_ sigma - Boundary-clique cluster slot derived from
tensor.sigma(spectral class index). - legacy_
rotor_ apply_ vector - Phase 1 quaternion sandwich — regression baseline when
d = 0. - motor_
mul - Dual-quaternion product
(qr1, qd1) ⊗ (qr2, qd2). - motor_
reverse - PGA reversion: flip bivector signs; scalar + pseudoscalar stay positive.
- motor_
rq - motor_
rq_ gated - motor_
rw - motor_
to_ mat4_ col - Column-major affine
mat4(WGSLmat4x4<f32>) for a rigid motor (rotation + translation). Built by sending the origin (→ translation) and the basis vectors (→ rotation columns) through the sandwich product, so the matrix reproducessandwich_pointexactly. Used as the per-artefact model transform in the mesh shader (Phase 2 kinematic joints). - motor_
translate - Pure translation motor — dual part encodes
v/2throughquat_to_blade4. - motor_
v_ band - Phase 3
v-band intrinsic motor: Euclidean / cyclic / hyperbolic / boundary clique. - pull_
vector - Pull vector toward camera eye:
direction · (0.12 · α · epistemic_q). - quat_
to_ blade4 - Inverse of
blade4_to_quat. - rotor_
from_ axis_ angle - rotor_
mul - sandwich_
point - Null-vector sandwich on euclidean
(x, y, z)—P' = Ω P Ω̃. - semantic_
motor - semantic_
motor_ intrinsic - semantic_
motor_ phase2c - Phase 2c semantic motor:
Ω = T_pull · (R_w · R_q). - tensor_
deontic_ lane - Per-node deontic lane encoded in
Tensor10D::mu(metadata carrier).