# Three new reveal primitives

October 5, 2026. Faultline, Polar, and Murmur are independent, unpublished research forks. Each contains a current copy of Aperture 0.1.0's `index.ts`, `geometry.ts`, and `support.ts`, based on repository revision `bb3a12a` with the covering-surface extension. The stable presets and previous studies remain independent.

## Primary sources studied

- [Codrops: custom-shaped cursor trails](https://tympanus.net/codrops/2026/09/24/custom-shaped-cursor-trail/). Separate gesture capture, a bounded field, and the display material. Handle coordinate conventions and interrupted pointers deliberately. Faultline adopts that separation, but computes a polyline distance field rather than painting a cursor trail.
- [Codrops: interactive crumpled paper, Houdini VAT and Three.js](https://tympanus.net/codrops/2026/09/19/crumbled-paper-houdini-vat-threejs/). Complex deformation can have an authored playback score; normal continuity and correct deformation bounds matter. Murmur uses an analytic GPU score, with no physics dependency or baked VAT assets, so reverse and seek remain reproducible.
- [Codrops: Resn's digital experiences](https://tympanus.net/codrops/2026/09/14/inside-resns-digital-experiences/). Make interaction serve an act of discovery. The three studies reveal a photograph or usable page rather than concluding in a decorative shader scene.
- [vgpu compute reference](https://vgpu.sh/docs/reference/vgpu/compute). Reflected bindings, storage access, dispatch ownership, and no readback in the rendering path.
- [vgpu instanced rendering](https://vgpu.sh/examples/instanced-rendering). One procedural geometry description and a GPU instance stream can carry a large population.
- [vgpu glass sculpture](https://vgpu.sh/examples/glass-sculpture) and [holographic card](https://vgpu.sh/examples/holographic-card). Studied the documented separation of material, lighting, and renderer. Our forms, shaders, and interaction scores are original. Polar is a stylized dichroic film effect; it does not claim to simulate physically accurate polarization or refract the DOM.

## Faultline

**Gesture:** draw an incision, release to widen it. Taps create a local opening. The keyboard/button uses an authored diagonal seam.

The copied core gains a `RevealSurface` and `createReveal` mount API. A compute pass produces a 192 × 128 aspect-correct distance field for at most 32 path points. This pass runs only when the path or host aspect changes. A fragment pass reads the field bilinearly and marches up to 64 steps through a warped stratified slab. Analytic geometry and numerical normals expose the face, incision walls, colored strata, and metallic veins. No per-pixel search through all path segments.

## Polar

**Gesture:** turn the films around the stage center, release to open. Your initial touch sets the traveling reveal origin.

Three curved gratings use independently rotating material coordinates and filtered stripe boundaries. Fold normals drive highlights and interference-inspired color. Bands separate into slots; parallax keeps the overlapping films distinct. All three layers composite in one fullscreen vgpu pass. The optical effect is stylistic, with actual page pixels underneath the transparent gaps.

## Murmur

**Gesture:** brush a direction into the skin, release; move over the remaining cover to steer its departing ribbons.

A compute pass evaluates 12,288 ribbons on wide displays and 6,144 on narrow displays. The score uses a touch-local lift front, bounded per-instance delays, curved motion, wind, and fade. Each ribbon has two vec4 records (32 bytes) and five procedural curve segments (30 vertices). One instanced draw follows a continuous skin pass, rendered into a four-sample antialiased target and resolved for presentation. The score is deterministic in progress: no accumulated simulation state, wall clock, or CPU readback. Fine filaments and jitter avoid a visible tiled grid.

## Shared integration and limits

- Each fork has its own copied core, math, WGSL pipelines, renderer, controller, standalone harness, and source ZIP. No dependency imports another fork or the production core.
- Call `createReveal({host, content, signal})` in the client. Content must be a direct child of the host. Open, close, reverse, pause via `seek`, tune via `setRecipe`, and destroy use the copied Aperture lifecycle.
- Recipes contain bounded numeric values, a normalized origin, and a bounded path; they cannot carry HTML, images, executable shaders, or external URLs. Imports are capped at 64 KB in the harness.
- The surface is transparent over the real DOM. Content is inert during the journey and becomes interactive at progress one. Closing moves focus outside the content in the harness.
- Device initialization is abortable. GPU errors and device loss permanently switch to a simple CSS reveal. Unsupported WebGPU has the same fallback. The advanced materials require WebGPU; a HTTPS or localhost context is required.
- No idle render loop. Frames are requested by the core timeline, tuning changes, or coalesced pointer updates. Fully open content submits no GPU frames. Hidden/offscreen journeys pause.
- Raster size is capped at 1.25 million pixels, DPR at 1.35, and the device texture limit. This is a resource bound, not a guarantee of a particular frame rate. Physical iPhone 12 profiling remains necessary.
- Respect system reduced motion; automatic journeys settle immediately. Manual scrub is retained for inspection.

These are experimental surfaces, not new stable package exports. A likely next step is a typed multi-pass surface factory that can graduate compute and instancing without tying the core to vgpu.
