SkillPedia Skills Encyclopedia
中文 EN

技能 2026-04-23 13:37 UTC

awesome-claude-design

由提交人 rohitg00 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(mascot): arms now stay attached to shoulders, hands visible, drop pen flicker (#31)。解决了已知运行时异常与边界错误,提升系统稳定性。

rohitg00 7f60ee5 rohitg00/awesome-claude-design

Commit提交信息原文

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)