Files
hyperframes/.prettierignore
T
James RussoandClaude Opus 5.5 d452a6fad4 feat(registry): add path-traced-3d example with raster preview and path-traced export (#7219)
* 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>
2026-11-05 06:40:37 +00:00

62 lines
2.9 KiB
Plaintext

docs/
DOCS_GUIDELINES.md
packages/producer/tests/
*.generated.ts
# Cloud Workflows GCL — uses ${...} expressions that are not standard YAML.
packages/gcp-cloud-run/terraform/workflow.yaml
# toMatchFileSnapshot golden files — vitest writes these; oxfmt must not reformat them.
packages/**/__goldens__/
# Edit accuracy baseline, written by the bench one line per case so a diff reads case by case.
packages/studio/tests/e2e/edit-accuracy/baseline.json
# vendored third-party bundles inside skills — never reformat
skills/**/assets/vendor/
skills/**/*.min.js
# esbuild-minified media-use svg sanitizer, generated by
# scripts/generate-media-use-svg-sanitize.mjs — never hand-edit or reformat.
packages/cli/src/media-use/lib/svg-sanitize.mjs
# vendored/bundled third-party JS inside registry blocks — never reformat.
# Without this the format hook silently re-pretty-prints a minified bundle,
# roughly doubling its size. Listed by exact file: these blocks also ship
# hand-authored source (glass-main.mjs, surface.js, orbit-scene.js, etc) that must stay formattable.
registry/blocks/**/lib/*.iife.js
registry/blocks/frost-sequence-camera-orbit/assets/frost.js
registry/blocks/frost-sequence-camera-orbit/assets/motion.js
registry/blocks/frost-sequence-camera-orbit/assets/gsap-3.14.2.min.js
registry/blocks/glass-shard-title/assets/glass-main.js
registry/blocks/code-slice-hero/assets/gsap-3.14.2.min.js
registry/blocks/cuboid-carousel/assets/three.core.min.js
registry/blocks/cuboid-carousel/assets/three.module.min.js
registry/blocks/cuboid-carousel/assets/gsap-3.14.2.min.js
registry/blocks/cuboid-carousel/assets/addons/**/*.js
registry/blocks/orbit-card/assets/three.core.min.js
registry/blocks/orbit-card/assets/three.module.min.js
registry/blocks/orbit-card/assets/gsap-3.14.2.min.js
registry/examples/path-traced-3d/assets/vendor/three-path-tracer.min.js
# generated Lottie data: pretty-printing multiplies its size
registry/blocks/lottie-character-walk/assets/mascot.json
# repo-native skill examples with intentional pseudo-markup placeholders
# (e.g. <RANGE>, <TOTAL> tokens the agent replaces at build time — not real HTML)
.claude/skills/**/examples/**/*.html
.agents/skills/**/examples/**/*.html
# Generated demo compositions — large video-pipeline output (GSAP/Three/WebGL
# embedded), not hand-authored source; reformatting them is churn + risk. Listed
# explicitly (not registry/examples/**/*.html) so hand-authored example HTML still
# gets formatted.
registry/examples/warm-grain/compositions/captions.html
# Skill entries: agents read each one whole when it opens, so table padding costs tokens every time.
skills/hyperframes/SKILL.md
skills/hyperframes-cli/SKILL.md
skills/hyperframes-registry/SKILL.md
skills/media-use/SKILL.md
skills/figma/SKILL.md
skills/slideshow/SKILL.md
skills/remotion-to-hyperframes/SKILL.md
skills/reverse-any-video/SKILL.md
skills/style-sampling/SKILL.md