mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* feat(registry): add path-traced-3d example with raster preview and path-traced export An opt-in Three.js starter: previews with raster rendering and exports with three-gpu-pathtracer, from one scene file. three 0.180.0, three-gpu-pathtracer 0.0.24 and three-mesh-bvh 0.9.5 ship as one local, pinned ES module with their licences and a rebuild recipe, so renders make no network requests and 2D projects never load the tracer. Setup is one buildReady promise that awaits library readiness promises only and ends with a throwaway frame and a one-pixel readback. Frames are drawn in the hf-seek listener through waitUntil, each time from zero with a fixed sample count. Math.random is seeded while the scene and tracer are built, because object ids order light sampling and the tracer's noise textures come from it. Adds a skill reference and a docs guide for the setup and seek contract, the frozen clock, why scheduler.yield() waits hang, and sample/bounce cost. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(registry): list path-traced-3d in CLI docs and tighten its notes Add the example's section to the CLI examples doc, which docs.test.ts requires for every registry example. Throw if the tracer reports compiling but exposes no compile promise, instead of spinning renderSample(). Say that three's object uuids set the tracer's sort order, that later-created objects need the seed too, and that Date and performance.now read the current seek time during a render rather than staying at 0. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
865 B
865 B
Examples
Examples available via npx hyperframes init <name> --example <example>.
blank
Centered Inter stage, paused GSAP timeline. Default hyperframes init scaffold, and the only example that works offline.
decision-tree
Animated flowchart with branching paths.
kinetic-type
Bold kinetic typography promo.
nyt-graph
Animated data chart in print editorial style.
path-traced-3d
Three.js scene with a fast raster preview and an opt-in path-traced export.
play-mode
Playful elastic animations.
product-promo
Multi-scene product showcase with SVG assets.
swiss-grid
Structured grid layout.
vignelli
Bold typography with red accents.
warm-grain
Cream aesthetic with grain texture.
Custom Templates
Any directory with an index.html can serve as an example. Copy it manually or build your own init workflow.