Expand description
RDF / NQuin → 96-byte holographic node layout (10D fold, RGBA32F atlas). RDF / NQuin → holographic semantic-graph layout.
Hot path is zero-heap: stack QuinCollector, open-addressed id table, and a
caller-owned [RdfHolographScene] of fixed arrays. GPU residency (SSBO /
RGBA32F) is the larger graphics budget; this file does not Vec / BTreeMap
/ String on layout, atlas pack, or framing.
Projects 48-byte NQuins into the 96-byte [HolographicNodeGpu] contract used by
the Holographic 3D Engine (WebGPU SSBO) and the WebGL2 GLSL ES 300 theatre
(RGBA32F node texture, 6 texels per node). No new .10d / .emf magics.
Structs§
- Holograph
Overlay - One in-field name chip after camera projection. Caller owns the output slot.
- Placed
Holograph - One vibe-placed holographic entity. Ingest may allocate the slice; packing
into
RdfHolographScenestays on the caller-owned fixed arrays. - RdfHolograph
Label - One labelled holographic entity after 10D → 3D projection.
- RdfHolograph
Scene - Laid-out holographic RDF scene. Fixed arrays; caller owns residency.
Constants§
- HOLOGRAPH_
TEXELS_ PER_ NODE - Six RGBA32F texels pack one 96-byte holographic node.
- MAX_
HOLOGRAPH_ NODES - Mobile-safe instance cap for the WebGL2 RGBA32F atlas (height = node count).
Functions§
- classify_
resource_ kind - Classify a resource for packing. Quoted lexical forms that never appear as a subject are literals; rdf:type objects / high-degree hubs are classes; remaining IRIs are instances even when they only appear as objects.
- display_
local_ name - Local display token of an expanded IRI or literal lexical form.
- fill_
label_ names - Fill empty label names at ingest. Already-set names win.
- framing_
zoom - Orbit distance that fits resource crystals in the vertical FOV.
Predicate capsules store half-span in
position_scale.w; counting that as a sphere radius pulled the camera so far the field collapsed to a cluster. k=1.22 with a 4.2–16 clamp keeps a small constellation (FOAF/Star) in frame instead of filling the viewport with a single glass close-up. - intern_
kind - Intern a vibe/JS kind string to a
'staticlabel used on the hot path. - layout_
nquins - Test helper: stack/box scene filled from quins.
- layout_
nquins_ into - Layout NQuins into a caller-owned scene. No heap.
- layout_
placed_ into - Pack vibe-placed records into a caller-owned scene. No heap.
- layout_
rdf_ bytes_ into - Parse by Content-Type or Qualia format id (
turtle,text/turtle, …). - layout_
rdf_ into - Parse an RDF document into a caller-owned scene. Parse errors are static.
- layout_
rdf_ str_ into - Parse a UTF-8 RDF document by Content-Type or Qualia format id.
- manifold_
code - Shader
manifold_tensor[1]code for an interned kind. 0 instance, 1 class, 2 literal, 3 rdf:type filament, 4 property filament, 5 plane. - ndc_
to_ canvas - NDC xy → canvas pixels (origin top-left).
- overlay_
chips_ into - Project named resource crystals to canvas pixels. Skips filaments and wells.
outis caller-owned; returns the number of chips written. - pick_
resource_ at - Screen-space pick of a resource crystal. Skips filaments and semantic planes.
w_anglematches the shader / overlay Y-rotation about W. - project_
10d - 10D address [q,v,w,x,y,z,t,α,μ,σ] folded to a cinematic 3-space with context as height.
- project_
world_ ndc - Rotate by W then project to NDC.
Nonewhen clip.w is degenerate. - rotate_
y_ w - Y-rotate a world point by the holographic W-angle.