Skip to content

feat(showcase): Mixamo jumping-jacks hook on hero, playground default, and README GIF - #41

Merged
a-baran-orhan merged 2 commits into
mainfrom
feat/mixamo-hero-hook
Jul 12, 2026
Merged

feat(showcase): Mixamo jumping-jacks hook on hero, playground default, and README GIF#41
a-baran-orhan merged 2 commits into
mainfrom
feat/mixamo-hero-hook

Conversation

@a-baran-orhan

Copy link
Copy Markdown
Member

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 real clip "<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_CLIPS map, retargeting, landing hero wiring) was already intact from the earlier work; the revert had only stripped the clip directive out of the document. So this is a minimal re-enable, not new plumbing.

What changed

  • spec/examples/jumping-jacks.posecode — add clip "jumping-jacks". This single directive drives all three surfaces, since they all read this doc + the shared SHOWCASE_CLIPS map.
  • playground/src/main.tsDEFAULT_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 via node scripts/capture-gifs.mjs jumping-jacks.

Scope guardrails

  • The sub-three README GIFs (deadlift, squat, lateral-raise) are untouched — they stay procedural.
  • No other preset changes. Any preset a visitor browses/edits shows genuine procedural DSL output.

Reviewer notes

  • Prod CDN: playground/public/clips/*.fbx is gitignored (CDN/storage-served). The deployed asset must be named jumping-jacks.fbx (hyphenated, lowercase) to match SHOWCASE_CLIPS; otherwise the hero silently falls back to procedural in production.
  • Verified in-browser: both the landing hero and the playground default fetch /clips/jumping-jacks.fbx (200) and play the mocap loop with no console errors; the default doc parses clean with no warnings.
  • Design spec: docs/superpowers/specs/2026-07-12-mixamo-hero-hook-design.md.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Documentation update (re-rendered README GIF + design spec)

Checklist

  • My code follows the code style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new TypeScript/compiler warnings or errors:
    • Running npm run typecheck passes successfully
    • Running npm run build compiles without errors
  • I have run the unit test suite (npm test) and all tests pass (243 passed)
  • If applicable, I have run the fidelity evals (npm run eval) and all checks pass — n/a (no fidelity-invariant changes; eval invariants already covered by npm test)
  • If I added a new movement, I ran node scripts/generate-content-pages.mjs — n/a (no new movement)

…, 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.
@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posecode Ready Ready Preview, Comment Jul 12, 2026 6:31pm

@a-baran-orhan
a-baran-orhan merged commit 2bd43e0 into main Jul 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant