SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-04-23 13:37 UTC

awesome-claude-design

Committed by rohitg00. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(mascot): arms now stay attached to shoulders, hands visible, drop pen flicker (#31). This update resolves known runtime errors and enhances system reliability.

rohitg00 7f60ee5 rohitg00/awesome-claude-design

CommitRaw commit message

fix(mascot): arms now stay attached to shoulders, hands visible, drop pen flicker (#31)

User reported the dancing mascot looked like it had no hands and a flickering
broken pen. Two root causes:

1. Arm rotate animation used additive="replace" which OVERWROTE the parent
   transform="translate(16, 48)" / translate(80, 48) shoulder anchor. Result:
   on every animation frame the arms snapped to (0,0) of the mascot group —
   detaching from the body and floating with the brush.

2. Hand was a 4px cream sliver against a dark background — invisible at the
   320x200 render size used in the README.

3. The "pen flicker" was a paint-splatter <circle> with opacity 0→1→0 plus a
   falling cy 40→50→60 animation. With the arm already detaching, the splatter
   read as a broken pen blinking in midair.

Fixes:
- Wrapped each arm's rotate animation in an inner <g> so the outer translate
  stays applied (rotation now pivots around the shoulder, not the page origin)
- Enlarged hand to 10x8 cream block with a 2px clay cuff for clarity
- Removed the paint-splatter circle entirely
- Tightened brush position so it visually attaches to the hand (handle now
  starts at hand-bottom, bristles below)