Skip to content

Commit f54e8e2

Browse files
committed
feat: humanized jumping-jacks hero + regenerate README GIFs
Add a jumping-jacks hero and refresh all README media with the new humanized figure (the existing strip GIFs still used the old grey wooden mannequin from before the humanization work). - Add docs/media/jumping-jacks.gif: full-body, symmetric, cyclical, so it reads instantly and loops seamlessly through the neutral pose. Featured as a centered hero at the top of the README. - Regenerate squat/deadlift/lateral-raise GIFs with the humanized figure, each framed to its own motion (squat depth, hip hinge, T-pose) and size-matched to the repo's existing GIFs. - Make jumping jacks the live landing-page hero (canvas + studio title, HUD phase, and code chip updated to match).
1 parent 6bfedae commit f54e8e2

7 files changed

Lines changed: 15 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ as a tiny human-readable language that renders to an animated 3D figure in the b
1919
<a href="https://github.com/posecode-dev/posecode/tree/main/packages/posecode-mcp"><img src="https://img.shields.io/badge/MCP-Compatible-orange.svg" alt="MCP Compatible"/></a>
2020
</p>
2121

22+
<p align="center">
23+
<img src="docs/media/jumping-jacks.gif" width="440" alt="Jumping jacks rendered live from a .posecode text document"/>
24+
</p>
25+
<p align="center"><sub>One <code>.posecode</code> document — <code>shoulders: abduct 160</code>, <code>hips: abduct 30</code>, <code>repeat 12</code> — rendered live in the browser.</sub></p>
26+
2227
<table align="center">
2328
<tr>
2429
<td align="center"><img src="docs/media/deadlift.gif" width="230" alt="Deadlift rendered from .posecode text"/><br/><sub><code>pelvis: hinge</code>, deadlift</sub></td>

docs/media/deadlift.gif

-378 KB
Loading

docs/media/jumping-jacks.gif

1.02 MB
Loading

docs/media/lateral-raise.gif

339 KB
Loading

docs/media/squat.gif

18.4 KB
Loading

playground/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,20 +173,20 @@ <h1 class="headline">
173173
<div class="studio">
174174
<div class="studio-bar" aria-hidden="true">
175175
<span class="dots"></span>
176-
<span class="studio-title">squat.posecode</span>
176+
<span class="studio-title">jumping-jacks.posecode</span>
177177
<span class="studio-live"><i></i>live</span>
178178
</div>
179179
<canvas id="hero-canvas"></canvas>
180-
<div class="studio-hud"><span id="hero-phase">Descend</span></div>
180+
<div class="studio-hud"><span id="hero-phase">Out</span></div>
181181
</div>
182182

183183
<!-- Overlapping code chip: the text that produces the motion -->
184-
<pre class="code-chip" aria-hidden="true"><span class="t-kw">posecode</span> <span class="t-kind">exercise</span> <span class="t-str">"Body-weight squat"</span>
184+
<pre class="code-chip" aria-hidden="true"><span class="t-kw">posecode</span> <span class="t-kind">exercise</span> <span class="t-str">"Jumping jacks"</span>
185185
<span class="t-kw">pose</span> start <span class="t-punct">=</span> <span class="t-atom">standing</span>
186186

187-
<span class="t-kw">step</span> <span class="t-str">"Descend"</span> <span class="t-num">1.6s</span> <span class="t-atom">ease-in-out</span><span class="t-punct">:</span>
188-
<span class="t-joint">hips</span><span class="t-punct">:</span> <span class="t-act">flex</span> <span class="t-num">80</span>
189-
<span class="t-joint">knees</span><span class="t-punct">:</span> <span class="t-act">flex</span> <span class="t-num">95</span>
187+
<span class="t-kw">step</span> <span class="t-str">"Out"</span> <span class="t-num">0.5s</span> <span class="t-atom">ease-out</span><span class="t-punct">:</span>
188+
<span class="t-joint">shoulders</span><span class="t-punct">:</span> <span class="t-act">abduct</span> <span class="t-num">160</span>
189+
<span class="t-joint">hips</span><span class="t-punct">:</span> <span class="t-act">abduct</span> <span class="t-num">30</span>
190190
<span class="t-kw">ground-lock</span><span class="t-punct">:</span> <span class="t-atom">feet</span></pre>
191191
</div>
192192
</section>

playground/src/landing.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ function initHero(): void {
3333
viewer.onPhase(({ phaseName }) => {
3434
if (phaseEl) phaseEl.textContent = phaseName === "reset" ? "" : phaseName;
3535
});
36-
const { ir } = parse(PRESETS[0]!.source); // body-weight squat
36+
// Hero movement: jumping jacks. Full-body, symmetric, and cyclical, so it
37+
// reads instantly and loops seamlessly through the neutral standing pose.
38+
const heroPreset = PRESETS.find((p) => p.id === "jumping-jacks") ?? PRESETS[0]!;
39+
const { ir } = parse(heroPreset.source);
3740
if (ir) {
3841
viewer.load(ir);
3942
viewer.setLoop(true);

0 commit comments

Comments
 (0)