feat(showcase): Mixamo jumping-jacks hook on hero, playground default, and README GIF - #41
Merged
Merged
Conversation
…, README GIF Re-enable the jumping-jacks clip-back on the three primary marketing surfaces as a pure eye-candy hook, while every other preset and the sub-3 README GIFs stay procedural (the DSL remains source of truth). - spec/examples/jumping-jacks.posecode: add clip "jumping-jacks" (this single directive drives the landing hero, playground default, and the captured GIF, all of which read this doc + SHOWCASE_CLIPS) - playground/src/main.ts: DEFAULT_PRESET = jumping-jacks so the playground greets visitors with the mocap clip; library order unchanged - docs/media/jumping-jacks.gif: re-render from the clip The clip directive stays visible in the editor, so the mechanism is transparent; deleting it drops back to procedural. Note: public/clips/*.fbx is gitignored (CDN-served); the prod asset must be named jumping-jacks.fbx to match SHOWCASE_CLIPS.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Re-enable the Mixamo jumping-jacks mocap clip as a pure eye-candy hook on the three primary marketing surfaces — landing hero, playground default movement, and the main README GIF — while every other preset and the sub-three README GIFs stay procedural. The procedural DSL remains the source of truth everywhere a visitor actually engages.
Why: A prior session had switched these surfaces to Mixamo clips, then reverted everything to procedural (
26a5e68, "procedural is the better showcase"). That left the landing hero jumping-jack looking bad — because it was the stiff procedural fallback. This PR brings back Mixamo only as the attention-grabber on the hero surfaces, delivered honestly through the realclip "<name>"DSL directive (clip-back). The directive stays visible in the editor, so the mechanism is transparent — delete that one line and it drops back to procedural.The machinery (
SHOWCASE_CLIPSmap, retargeting, landing hero wiring) was already intact from the earlier work; the revert had only stripped theclipdirective out of the document. So this is a minimal re-enable, not new plumbing.What changed
spec/examples/jumping-jacks.posecode— addclip "jumping-jacks". This single directive drives all three surfaces, since they all read this doc + the sharedSHOWCASE_CLIPSmap.playground/src/main.ts—DEFAULT_PRESET = jumping-jacks, so the playground greets visitors with the mocap clip on first open. Library list order is unchanged.docs/media/jumping-jacks.gif— re-rendered from the clip vianode scripts/capture-gifs.mjs jumping-jacks.Scope guardrails
deadlift,squat,lateral-raise) are untouched — they stay procedural.Reviewer notes
playground/public/clips/*.fbxis gitignored (CDN/storage-served). The deployed asset must be namedjumping-jacks.fbx(hyphenated, lowercase) to matchSHOWCASE_CLIPS; otherwise the hero silently falls back to procedural in production./clips/jumping-jacks.fbx(200) and play the mocap loop with no console errors; the default doc parses clean with no warnings.docs/superpowers/specs/2026-07-12-mixamo-hero-hook-design.md.Type of Change
Checklist
npm run typecheckpasses successfullynpm run buildcompiles without errorsnpm test) and all tests pass (243 passed)npm run eval) and all checks pass — n/a (no fidelity-invariant changes; eval invariants already covered bynpm test)node scripts/generate-content-pages.mjs— n/a (no new movement)