@mumulinya167/ccm-pet-assets 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/assets/calico/calico-idle-follow.svg +324 -324
  2. package/assets/calico.svg +324 -324
  3. package/assets/clawd/LICENSE +22 -22
  4. package/assets/clawd/clawd-about-hero.svg +202 -202
  5. package/assets/clawd/clawd-collapse-sleep.svg +247 -247
  6. package/assets/clawd/clawd-error.svg +94 -94
  7. package/assets/clawd/clawd-happy.svg +160 -160
  8. package/assets/clawd/clawd-headphones-groove.svg +194 -194
  9. package/assets/clawd/clawd-idle-bubble.svg +180 -180
  10. package/assets/clawd/clawd-idle-collapse.svg +101 -101
  11. package/assets/clawd/clawd-idle-doze.svg +72 -72
  12. package/assets/clawd/clawd-idle-follow.svg +64 -64
  13. package/assets/clawd/clawd-idle-living.svg +195 -195
  14. package/assets/clawd/clawd-idle-look.svg +115 -115
  15. package/assets/clawd/clawd-idle-reading.svg +252 -252
  16. package/assets/clawd/clawd-idle-yawn.svg +158 -158
  17. package/assets/clawd/clawd-mini-alert.svg +129 -129
  18. package/assets/clawd/clawd-mini-crabwalk.svg +76 -76
  19. package/assets/clawd/clawd-mini-enter-sleep.svg +64 -64
  20. package/assets/clawd/clawd-mini-enter.svg +114 -114
  21. package/assets/clawd/clawd-mini-happy.svg +124 -124
  22. package/assets/clawd/clawd-mini-idle.svg +83 -83
  23. package/assets/clawd/clawd-mini-peek.svg +82 -82
  24. package/assets/clawd/clawd-mini-sleep.svg +112 -112
  25. package/assets/clawd/clawd-mini-typing.svg +153 -153
  26. package/assets/clawd/clawd-notification.svg +438 -438
  27. package/assets/clawd/clawd-react-annoyed.svg +167 -167
  28. package/assets/clawd/clawd-react-double-jump.svg +229 -229
  29. package/assets/clawd/clawd-react-double.svg +108 -108
  30. package/assets/clawd/clawd-react-drag.svg +102 -102
  31. package/assets/clawd/clawd-react-left.svg +102 -102
  32. package/assets/clawd/clawd-react-right.svg +102 -102
  33. package/assets/clawd/clawd-sleeping.svg +117 -117
  34. package/assets/clawd/clawd-static-base.svg +20 -20
  35. package/assets/clawd/clawd-wake.svg +277 -277
  36. package/assets/clawd/clawd-working-building.svg +329 -329
  37. package/assets/clawd/clawd-working-carrying.svg +178 -178
  38. package/assets/clawd/clawd-working-debugger.svg +245 -245
  39. package/assets/clawd/clawd-working-juggling.svg +183 -183
  40. package/assets/clawd/clawd-working-sweeping.svg +248 -248
  41. package/assets/clawd/clawd-working-thinking.svg +501 -501
  42. package/assets/clawd/clawd-working-typing-boss.svg +307 -307
  43. package/assets/clawd/clawd-working-typing.svg +273 -273
  44. package/assets/clawd/clawd-working-ultrathink.svg +166 -166
  45. package/assets/clawd/clawd-working-wizard.svg +356 -356
  46. package/assets/clawd.svg +64 -64
  47. package/assets/cloudling/cloudling/cloudling-attention.svg +379 -379
  48. package/assets/cloudling/cloudling/cloudling-building.svg +667 -667
  49. package/assets/cloudling/cloudling/cloudling-carrying.svg +604 -604
  50. package/assets/cloudling/cloudling/cloudling-conducting.svg +616 -616
  51. package/assets/cloudling/cloudling/cloudling-dozing-to-sleeping.svg +578 -578
  52. package/assets/cloudling/cloudling/cloudling-dozing.svg +358 -358
  53. package/assets/cloudling/cloudling/cloudling-error.svg +428 -428
  54. package/assets/cloudling/cloudling/cloudling-idle-reading.svg +658 -658
  55. package/assets/cloudling/cloudling/cloudling-idle-to-dozing.svg +568 -568
  56. package/assets/cloudling/cloudling/cloudling-idle-to-sleeping.svg +811 -811
  57. package/assets/cloudling/cloudling/cloudling-idle.svg +255 -255
  58. package/assets/cloudling/cloudling/cloudling-juggling.svg +648 -648
  59. package/assets/cloudling/cloudling/cloudling-mini-alert.svg +389 -389
  60. package/assets/cloudling/cloudling/cloudling-mini-crabwalk.svg +335 -335
  61. package/assets/cloudling/cloudling/cloudling-mini-enter-roll-in.svg +225 -225
  62. package/assets/cloudling/cloudling/cloudling-mini-enter-sleep.svg +231 -231
  63. package/assets/cloudling/cloudling/cloudling-mini-happy.svg +370 -370
  64. package/assets/cloudling/cloudling/cloudling-mini-idle.svg +279 -279
  65. package/assets/cloudling/cloudling/cloudling-mini-peek.svg +327 -327
  66. package/assets/cloudling/cloudling/cloudling-mini-sleep.svg +260 -260
  67. package/assets/cloudling/cloudling/cloudling-mini-typing.svg +691 -691
  68. package/assets/cloudling/cloudling/cloudling-notification.svg +493 -493
  69. package/assets/cloudling/cloudling/cloudling-react-drag.svg +83 -83
  70. package/assets/cloudling/cloudling/cloudling-sleeping-to-idle.svg +555 -555
  71. package/assets/cloudling/cloudling/cloudling-sleeping.svg +500 -500
  72. package/assets/cloudling/cloudling/cloudling-sweeping.svg +292 -292
  73. package/assets/cloudling/cloudling/cloudling-thinking.svg +719 -719
  74. package/assets/cloudling/cloudling/cloudling-typing.svg +354 -354
  75. package/assets/cloudling/cloudling-attention.svg +379 -379
  76. package/assets/cloudling/cloudling-building.svg +667 -667
  77. package/assets/cloudling/cloudling-carrying.svg +604 -604
  78. package/assets/cloudling/cloudling-conducting.svg +616 -616
  79. package/assets/cloudling/cloudling-dozing-to-sleeping.svg +578 -578
  80. package/assets/cloudling/cloudling-dozing.svg +358 -358
  81. package/assets/cloudling/cloudling-error.svg +428 -428
  82. package/assets/cloudling/cloudling-idle-reading.svg +658 -658
  83. package/assets/cloudling/cloudling-idle-to-dozing.svg +568 -568
  84. package/assets/cloudling/cloudling-idle-to-sleeping.svg +811 -811
  85. package/assets/cloudling/cloudling-idle.svg +255 -255
  86. package/assets/cloudling/cloudling-juggling.svg +648 -648
  87. package/assets/cloudling/cloudling-mini-alert.svg +389 -389
  88. package/assets/cloudling/cloudling-mini-crabwalk.svg +335 -335
  89. package/assets/cloudling/cloudling-mini-enter-roll-in.svg +225 -225
  90. package/assets/cloudling/cloudling-mini-enter-sleep.svg +231 -231
  91. package/assets/cloudling/cloudling-mini-happy.svg +370 -370
  92. package/assets/cloudling/cloudling-mini-idle.svg +279 -279
  93. package/assets/cloudling/cloudling-mini-peek.svg +327 -327
  94. package/assets/cloudling/cloudling-mini-sleep.svg +260 -260
  95. package/assets/cloudling/cloudling-mini-typing.svg +691 -691
  96. package/assets/cloudling/cloudling-notification.svg +493 -493
  97. package/assets/cloudling/cloudling-react-drag.svg +83 -83
  98. package/assets/cloudling/cloudling-sleeping-to-idle.svg +555 -555
  99. package/assets/cloudling/cloudling-sleeping.svg +500 -500
  100. package/assets/cloudling/cloudling-sweeping.svg +292 -292
  101. package/assets/cloudling/cloudling-thinking.svg +719 -719
  102. package/assets/cloudling/cloudling-typing.svg +354 -354
  103. package/assets/cloudling.svg +255 -255
  104. package/assets/ghost-attention.svg +19 -19
  105. package/assets/ghost-carrying.svg +19 -19
  106. package/assets/ghost-collapsing.svg +19 -19
  107. package/assets/ghost-dozing.svg +23 -23
  108. package/assets/ghost-error.svg +19 -19
  109. package/assets/ghost-happy.svg +23 -23
  110. package/assets/ghost-idle.svg +11 -11
  111. package/assets/ghost-juggling.svg +19 -19
  112. package/assets/ghost-notification.svg +19 -19
  113. package/assets/ghost-react-double.svg +23 -23
  114. package/assets/ghost-react-drag.svg +23 -23
  115. package/assets/ghost-react-left.svg +19 -19
  116. package/assets/ghost-react-right.svg +19 -19
  117. package/assets/ghost-sleeping.svg +19 -19
  118. package/assets/ghost-sweeping.svg +19 -19
  119. package/assets/ghost-waking.svg +19 -19
  120. package/assets/ghost-yawning.svg +23 -23
  121. package/assets/ghost.svg +11 -11
  122. package/assets/robot-attention.svg +19 -19
  123. package/assets/robot-carrying.svg +19 -19
  124. package/assets/robot-collapsing.svg +19 -19
  125. package/assets/robot-dozing.svg +23 -23
  126. package/assets/robot-error.svg +19 -19
  127. package/assets/robot-happy.svg +23 -23
  128. package/assets/robot-idle.svg +11 -11
  129. package/assets/robot-juggling.svg +19 -19
  130. package/assets/robot-notification.svg +19 -19
  131. package/assets/robot-react-double.svg +23 -23
  132. package/assets/robot-react-drag.svg +23 -23
  133. package/assets/robot-react-left.svg +19 -19
  134. package/assets/robot-react-right.svg +19 -19
  135. package/assets/robot-sleeping.svg +19 -19
  136. package/assets/robot-sweeping.svg +19 -19
  137. package/assets/robot-waking.svg +19 -19
  138. package/assets/robot-yawning.svg +23 -23
  139. package/assets/robot.svg +11 -11
  140. package/manifest.json +280 -280
  141. package/package.json +1 -1
@@ -1,329 +1,329 @@
1
- <!--
2
- clawd-experiment-working-building-helmet-v1.svg (2026-04-24)
3
- 基础 = D:\animation\assets\svg\clawd-working-building.svg
4
- 改动 = 把原黄色安全帽 (#FBC02D/#F9A825) 换成 helmet-tryon-v1 的三色橙帽 (#EFA74A/#B7782E/#FAB253)
5
- 帽子仍放在 body-squash 组内, 跟随锤击 squash; z-order: torso → helmet → eyes (helmet 不遮眼, 无视觉冲突)
6
- -->
7
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500" shape-rendering="crispEdges">
8
- <defs>
9
- <style>
10
- /* ===== Independent sub-animations ===== */
11
-
12
- /* Breathe 3.2s */
13
- .breathe {
14
- transform-origin: 7.5px 13px;
15
- animation: breathe 3.2s infinite ease-in-out;
16
- }
17
-
18
- /* Blink 4s */
19
- .blink {
20
- transform-origin: 7.5px 9px;
21
- animation: blink 4s infinite;
22
- }
23
-
24
- /* ===== Hammer cycle 1.2s ===== */
25
-
26
- /* Body bounce: up-down motion (shared by body + arms) */
27
- .body-bounce {
28
- transform-origin: 7.5px 15px;
29
- animation: body-bounce 1.2s infinite;
30
- }
31
-
32
- /* Body squash: scale only (torso + hat + eyes, arms excluded) */
33
- .body-squash {
34
- transform-origin: 7.5px 15px;
35
- animation: body-squash 1.2s infinite;
36
- }
37
-
38
- /* Right arm hammer swing */
39
- .arm-hammer {
40
- transform-origin: 14px 10px;
41
- animation: hammer-swing 1.2s infinite;
42
- }
43
-
44
- /* Left arm counter-motion */
45
- .arm-l-rest {
46
- transform-origin: 2px 10px;
47
- animation: arm-l-rest 1.2s infinite;
48
- }
49
-
50
- /* Shadow synced with bounce */
51
- .shadow-anim {
52
- transform-origin: 7.5px 15.5px;
53
- animation: shadow-bounce 1.2s infinite;
54
- }
55
-
56
- /* Hot metal flash */
57
- .hot-metal {
58
- animation: metal-glow 1.2s infinite;
59
- }
60
-
61
- /* Sparks */
62
- .spark { opacity: 0; }
63
- .s1 { animation: spark-1 1.2s infinite; }
64
- .s2 { animation: spark-2 1.2s infinite; }
65
- .s3 { animation: spark-3 1.2s infinite; }
66
-
67
- /* ===== Eyes 5s ===== */
68
- .eyes-look {
69
- animation: eyes-look 5s infinite ease-in-out;
70
- }
71
-
72
- /* ===== Sweat 6s ===== */
73
- .sweat {
74
- opacity: 0;
75
- animation: sweat-fly 6s infinite;
76
- }
77
-
78
- /* ==================== Keyframes ==================== */
79
-
80
- @keyframes breathe {
81
- 0%, 100% { transform: scale(1, 1) translate(0, 0); }
82
- 50% { transform: scale(1.02, 0.98) translate(0, 0.5px); }
83
- }
84
-
85
- @keyframes blink {
86
- 0%, 10%, 100% { transform: scaleY(1); }
87
- 5% { transform: scaleY(0.1); }
88
- }
89
-
90
- /* Body bounce: translateY only (arms share this, stay clean) */
91
- @keyframes body-bounce {
92
- 0%, 100% { transform: translateY(0); }
93
- 30% { transform: translateY(-2px); }
94
- 45% { transform: translateY(0); }
95
- 50% { transform: translateY(2px); }
96
- 70% { transform: translateY(0); }
97
- }
98
-
99
- /* Body squash: scale only (torso+hat+eyes, not arms) */
100
- @keyframes body-squash {
101
- 0%, 100% { transform: scale(1, 1); }
102
- 30% { transform: scale(0.95, 1.05); }
103
- 45% { transform: scale(1, 1); }
104
- 50% { transform: scale(1.15, 0.85); }
105
- 70% { transform: scale(1, 1); }
106
- }
107
-
108
- /* Shadow: lighter on rise, heavier on impact */
109
- @keyframes shadow-bounce {
110
- 0%, 45%, 70%, 100% { transform: scaleX(1); opacity: 0.5; }
111
- 30% { transform: scaleX(0.92); opacity: 0.42; }
112
- 50% { transform: scaleX(1.08); opacity: 0.58; }
113
- }
114
-
115
- /* Hammer swing: original angles preserved */
116
- @keyframes hammer-swing {
117
- 0%, 100% { transform: rotate(15deg); }
118
- 30% { transform: rotate(-45deg); }
119
- 45% { transform: rotate(40deg); }
120
- 50% { transform: rotate(125deg); }
121
- 70% { transform: rotate(15deg); }
122
- }
123
-
124
- /* Left arm: reacts to hammer rhythm */
125
- @keyframes arm-l-rest {
126
- 0%, 100% { transform: rotate(0deg); }
127
- 30% { transform: rotate(15deg); }
128
- 50% { transform: rotate(-5deg); }
129
- }
130
-
131
- /* Hot metal glow on impact */
132
- @keyframes metal-glow {
133
- 0%, 49% { fill: #FF5252; }
134
- 50%, 60% { fill: #FFF59D; }
135
- 100% { fill: #FF5252; }
136
- }
137
-
138
- /* Eyes: mostly watch anvil, occasional glance at hammer */
139
- @keyframes eyes-look {
140
- 0%, 100% { transform: translate(1.5px, 0.5px); }
141
- 20% { transform: translate(1.5px, 0.5px); }
142
- 25% { transform: translate(1px, -0.5px); }
143
- 35% { transform: translate(1px, -0.5px); }
144
- 40% { transform: translate(1.5px, 0.5px); }
145
- 70% { transform: translate(0.3px, 0); }
146
- 80% { transform: translate(1.5px, 0.5px); }
147
- }
148
-
149
- /* Sparks: appear at impact, scatter outward */
150
- @keyframes spark-1 {
151
- 0%, 49% { opacity: 0; transform: translate(0, 0) scale(0); }
152
- 50% { opacity: 1; transform: translate(0, 0) scale(1); }
153
- 70% { opacity: 0; transform: translate(4px, -6px) scale(0); }
154
- 71%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
155
- }
156
- @keyframes spark-2 {
157
- 0%, 49% { opacity: 0; transform: translate(0, 0) scale(0); }
158
- 50% { opacity: 1; transform: translate(0, 0) scale(1); }
159
- 70% { opacity: 0; transform: translate(7px, -1px) scale(0); }
160
- 71%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
161
- }
162
- @keyframes spark-3 {
163
- 0%, 49% { opacity: 0; transform: translate(0, 0) scale(0); }
164
- 50% { opacity: 1; transform: translate(0, 0) scale(1); }
165
- 70% { opacity: 0; transform: translate(3px, 3px) scale(0); }
166
- 71%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
167
- }
168
-
169
- /* Sweat: one drop every 6s */
170
- @keyframes sweat-fly {
171
- 0%, 55% { opacity: 0; transform: translate(0, 0) scale(0); }
172
- 60% { opacity: 1; transform: translate(0, 0) scale(1); }
173
- 80% { opacity: 0; transform: translate(-6px, -6px) scale(0.5); }
174
- 100% { opacity: 0; }
175
- }
176
- </style>
177
-
178
- <!-- Pixel Spark -->
179
- <g id="pixel-spark">
180
- <rect x="0" y="0" width="1" height="1"/>
181
- </g>
182
- </defs>
183
-
184
- <!-- Ground Shadows -->
185
- <rect class="shadow-anim" x="3" y="15" width="9" height="1" fill="#000000"/>
186
- <rect x="16" y="15" width="7" height="1" fill="#000000" opacity="0.4"/>
187
-
188
- <!-- Metal Block / Anvil -->
189
- <g transform="translate(17, 13)">
190
- <rect x="0" y="2" width="5" height="1" fill="#546E7A"/>
191
- <rect x="1" y="0" width="3" height="2" fill="#78909C"/>
192
- <rect x="1.5" y="-0.5" width="2" height="1" class="hot-metal"/>
193
- </g>
194
-
195
- <!-- Impact Sparks -->
196
- <g fill="#FFC107" transform="translate(19, 12.5)">
197
- <use href="#pixel-spark" class="spark s1"/>
198
- <use href="#pixel-spark" class="spark s2"/>
199
- <use href="#pixel-spark" class="spark s3"/>
200
- </g>
201
-
202
- <!-- Legs (bounce with body, no squash) -->
203
- <g class="body-bounce" fill="#DE886D">
204
- <rect x="3" y="13" width="1" height="2"/>
205
- <rect x="5" y="13" width="1" height="2"/>
206
- <rect x="9" y="13" width="1" height="2"/>
207
- <rect x="11" y="13" width="1" height="2"/>
208
- </g>
209
-
210
- <!-- Body group [bounce > breathe] -->
211
- <g class="body-bounce">
212
- <g class="breathe">
213
-
214
- <!-- Sweat (bounces + breathes, outside squash) -->
215
- <g transform="translate(1, 8)">
216
- <g class="sweat" fill="#40C4FF">
217
- <rect x="0" y="1" width="1.5" height="1.5"/>
218
- <rect x="0.25" y="0" width="1" height="1"/>
219
- </g>
220
- </g>
221
-
222
- <!-- Body core [squash] — only torso + hat + eyes get squashed -->
223
- <g class="body-squash">
224
-
225
- <!-- Torso -->
226
- <rect x="2" y="6" width="11" height="7" fill="#DE886D"/>
227
-
228
- <!-- Eyes [look 5s > blink 4s] — 放在 helmet 之前, 让帽子压过眼睛 -->
229
- <g class="eyes-look">
230
- <g class="blink" fill="#000">
231
- <rect x="4" y="8" width="1" height="2"/>
232
- <rect x="10" y="8" width="1" height="2"/>
233
- </g>
234
- </g>
235
-
236
- <!-- Helmet (from helmet-tryon-v1: 三色橙, translate(0.5 1) scale(0.7) — v1 下移 1 格戴更低) -->
237
- <g id="helmet" transform="translate(0.5 1) scale(0.7)">
238
- <g fill="#EFA74A">
239
- <rect x="7" y="0" width="6" height="1"/>
240
- <rect x="7" y="1" width="6" height="1"/>
241
- <rect x="14" y="1" width="2" height="1"/>
242
- <rect x="2" y="2" width="3" height="1"/>
243
- <rect x="7" y="2" width="2" height="1"/>
244
- <rect x="11" y="2" width="2" height="1"/>
245
- <rect x="14" y="2" width="4" height="1"/>
246
- <rect x="2" y="3" width="3" height="1"/>
247
- <rect x="7" y="3" width="1" height="1"/>
248
- <rect x="14" y="3" width="4" height="1"/>
249
- <rect x="1" y="4" width="4" height="1"/>
250
- <rect x="7" y="4" width="1" height="1"/>
251
- <rect x="14" y="4" width="5" height="1"/>
252
- <rect x="1" y="5" width="4" height="1"/>
253
- <rect x="7" y="5" width="1" height="1"/>
254
- <rect x="12" y="5" width="1" height="1"/>
255
- <rect x="14" y="5" width="5" height="1"/>
256
- <rect x="1" y="6" width="4" height="1"/>
257
- <rect x="8" y="6" width="1" height="1"/>
258
- <rect x="11" y="6" width="1" height="1"/>
259
- <rect x="14" y="6" width="5" height="1"/>
260
- <rect x="1" y="7" width="1" height="1"/>
261
- <rect x="0" y="9" width="20" height="1"/>
262
- </g>
263
- <g fill="#B7782E">
264
- <rect x="6" y="1" width="1" height="1"/>
265
- <rect x="13" y="1" width="1" height="1"/>
266
- <rect x="6" y="2" width="1" height="1"/>
267
- <rect x="9" y="2" width="2" height="1"/>
268
- <rect x="13" y="2" width="1" height="1"/>
269
- <rect x="6" y="3" width="1" height="1"/>
270
- <rect x="8" y="3" width="4" height="1"/>
271
- <rect x="13" y="3" width="1" height="1"/>
272
- <rect x="6" y="4" width="1" height="1"/>
273
- <rect x="8" y="4" width="4" height="1"/>
274
- <rect x="13" y="4" width="1" height="1"/>
275
- <rect x="6" y="5" width="1" height="1"/>
276
- <rect x="9" y="5" width="2" height="1"/>
277
- <rect x="13" y="5" width="1" height="1"/>
278
- <rect x="6" y="6" width="1" height="1"/>
279
- <rect x="9" y="6" width="2" height="1"/>
280
- <rect x="13" y="6" width="1" height="1"/>
281
- <rect x="7" y="7" width="1" height="1"/>
282
- <rect x="12" y="7" width="1" height="1"/>
283
- <rect x="1" y="8" width="18" height="1"/>
284
- </g>
285
- <g fill="#FAB253">
286
- <rect x="5" y="1" width="1" height="1"/>
287
- <rect x="5" y="2" width="1" height="1"/>
288
- <rect x="5" y="3" width="1" height="1"/>
289
- <rect x="12" y="3" width="1" height="1"/>
290
- <rect x="5" y="4" width="1" height="1"/>
291
- <rect x="12" y="4" width="1" height="1"/>
292
- <rect x="5" y="5" width="1" height="1"/>
293
- <rect x="8" y="5" width="1" height="1"/>
294
- <rect x="11" y="5" width="1" height="1"/>
295
- <rect x="5" y="6" width="1" height="1"/>
296
- <rect x="7" y="6" width="1" height="1"/>
297
- <rect x="12" y="6" width="1" height="1"/>
298
- <rect x="2" y="7" width="5" height="1"/>
299
- <rect x="8" y="7" width="4" height="1"/>
300
- <rect x="13" y="7" width="6" height="1"/>
301
- </g>
302
- </g>
303
-
304
- </g>
305
-
306
- <!-- Left arm (bounces + breathes, NO squash) -->
307
- <g class="arm-l-rest">
308
- <rect x="0" y="9" width="2" height="2" fill="#DE886D"/>
309
- </g>
310
-
311
- </g>
312
- </g>
313
-
314
- <!-- Right arm + hammer [bounce > breathe] (separate group, same classes = auto sync) -->
315
- <g class="body-bounce">
316
- <g class="breathe">
317
- <g class="arm-hammer">
318
- <rect x="13" y="9" width="2" height="2" fill="#DE886D"/>
319
- <!-- Hammer -->
320
- <g>
321
- <!-- Handle -->
322
- <rect x="13.5" y="4" width="1" height="6" fill="#795548"/>
323
- <!-- Head -->
324
- <rect x="12.5" y="3" width="3" height="2" fill="#9E9E9E"/>
325
- </g>
326
- </g>
327
- </g>
328
- </g>
329
- </svg>
1
+ <!--
2
+ clawd-experiment-working-building-helmet-v1.svg (2026-04-24)
3
+ 基础 = D:\animation\assets\svg\clawd-working-building.svg
4
+ 改动 = 把原黄色安全帽 (#FBC02D/#F9A825) 换成 helmet-tryon-v1 的三色橙帽 (#EFA74A/#B7782E/#FAB253)
5
+ 帽子仍放在 body-squash 组内, 跟随锤击 squash; z-order: torso → helmet → eyes (helmet 不遮眼, 无视觉冲突)
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500" shape-rendering="crispEdges">
8
+ <defs>
9
+ <style>
10
+ /* ===== Independent sub-animations ===== */
11
+
12
+ /* Breathe 3.2s */
13
+ .breathe {
14
+ transform-origin: 7.5px 13px;
15
+ animation: breathe 3.2s infinite ease-in-out;
16
+ }
17
+
18
+ /* Blink 4s */
19
+ .blink {
20
+ transform-origin: 7.5px 9px;
21
+ animation: blink 4s infinite;
22
+ }
23
+
24
+ /* ===== Hammer cycle 1.2s ===== */
25
+
26
+ /* Body bounce: up-down motion (shared by body + arms) */
27
+ .body-bounce {
28
+ transform-origin: 7.5px 15px;
29
+ animation: body-bounce 1.2s infinite;
30
+ }
31
+
32
+ /* Body squash: scale only (torso + hat + eyes, arms excluded) */
33
+ .body-squash {
34
+ transform-origin: 7.5px 15px;
35
+ animation: body-squash 1.2s infinite;
36
+ }
37
+
38
+ /* Right arm hammer swing */
39
+ .arm-hammer {
40
+ transform-origin: 14px 10px;
41
+ animation: hammer-swing 1.2s infinite;
42
+ }
43
+
44
+ /* Left arm counter-motion */
45
+ .arm-l-rest {
46
+ transform-origin: 2px 10px;
47
+ animation: arm-l-rest 1.2s infinite;
48
+ }
49
+
50
+ /* Shadow synced with bounce */
51
+ .shadow-anim {
52
+ transform-origin: 7.5px 15.5px;
53
+ animation: shadow-bounce 1.2s infinite;
54
+ }
55
+
56
+ /* Hot metal flash */
57
+ .hot-metal {
58
+ animation: metal-glow 1.2s infinite;
59
+ }
60
+
61
+ /* Sparks */
62
+ .spark { opacity: 0; }
63
+ .s1 { animation: spark-1 1.2s infinite; }
64
+ .s2 { animation: spark-2 1.2s infinite; }
65
+ .s3 { animation: spark-3 1.2s infinite; }
66
+
67
+ /* ===== Eyes 5s ===== */
68
+ .eyes-look {
69
+ animation: eyes-look 5s infinite ease-in-out;
70
+ }
71
+
72
+ /* ===== Sweat 6s ===== */
73
+ .sweat {
74
+ opacity: 0;
75
+ animation: sweat-fly 6s infinite;
76
+ }
77
+
78
+ /* ==================== Keyframes ==================== */
79
+
80
+ @keyframes breathe {
81
+ 0%, 100% { transform: scale(1, 1) translate(0, 0); }
82
+ 50% { transform: scale(1.02, 0.98) translate(0, 0.5px); }
83
+ }
84
+
85
+ @keyframes blink {
86
+ 0%, 10%, 100% { transform: scaleY(1); }
87
+ 5% { transform: scaleY(0.1); }
88
+ }
89
+
90
+ /* Body bounce: translateY only (arms share this, stay clean) */
91
+ @keyframes body-bounce {
92
+ 0%, 100% { transform: translateY(0); }
93
+ 30% { transform: translateY(-2px); }
94
+ 45% { transform: translateY(0); }
95
+ 50% { transform: translateY(2px); }
96
+ 70% { transform: translateY(0); }
97
+ }
98
+
99
+ /* Body squash: scale only (torso+hat+eyes, not arms) */
100
+ @keyframes body-squash {
101
+ 0%, 100% { transform: scale(1, 1); }
102
+ 30% { transform: scale(0.95, 1.05); }
103
+ 45% { transform: scale(1, 1); }
104
+ 50% { transform: scale(1.15, 0.85); }
105
+ 70% { transform: scale(1, 1); }
106
+ }
107
+
108
+ /* Shadow: lighter on rise, heavier on impact */
109
+ @keyframes shadow-bounce {
110
+ 0%, 45%, 70%, 100% { transform: scaleX(1); opacity: 0.5; }
111
+ 30% { transform: scaleX(0.92); opacity: 0.42; }
112
+ 50% { transform: scaleX(1.08); opacity: 0.58; }
113
+ }
114
+
115
+ /* Hammer swing: original angles preserved */
116
+ @keyframes hammer-swing {
117
+ 0%, 100% { transform: rotate(15deg); }
118
+ 30% { transform: rotate(-45deg); }
119
+ 45% { transform: rotate(40deg); }
120
+ 50% { transform: rotate(125deg); }
121
+ 70% { transform: rotate(15deg); }
122
+ }
123
+
124
+ /* Left arm: reacts to hammer rhythm */
125
+ @keyframes arm-l-rest {
126
+ 0%, 100% { transform: rotate(0deg); }
127
+ 30% { transform: rotate(15deg); }
128
+ 50% { transform: rotate(-5deg); }
129
+ }
130
+
131
+ /* Hot metal glow on impact */
132
+ @keyframes metal-glow {
133
+ 0%, 49% { fill: #FF5252; }
134
+ 50%, 60% { fill: #FFF59D; }
135
+ 100% { fill: #FF5252; }
136
+ }
137
+
138
+ /* Eyes: mostly watch anvil, occasional glance at hammer */
139
+ @keyframes eyes-look {
140
+ 0%, 100% { transform: translate(1.5px, 0.5px); }
141
+ 20% { transform: translate(1.5px, 0.5px); }
142
+ 25% { transform: translate(1px, -0.5px); }
143
+ 35% { transform: translate(1px, -0.5px); }
144
+ 40% { transform: translate(1.5px, 0.5px); }
145
+ 70% { transform: translate(0.3px, 0); }
146
+ 80% { transform: translate(1.5px, 0.5px); }
147
+ }
148
+
149
+ /* Sparks: appear at impact, scatter outward */
150
+ @keyframes spark-1 {
151
+ 0%, 49% { opacity: 0; transform: translate(0, 0) scale(0); }
152
+ 50% { opacity: 1; transform: translate(0, 0) scale(1); }
153
+ 70% { opacity: 0; transform: translate(4px, -6px) scale(0); }
154
+ 71%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
155
+ }
156
+ @keyframes spark-2 {
157
+ 0%, 49% { opacity: 0; transform: translate(0, 0) scale(0); }
158
+ 50% { opacity: 1; transform: translate(0, 0) scale(1); }
159
+ 70% { opacity: 0; transform: translate(7px, -1px) scale(0); }
160
+ 71%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
161
+ }
162
+ @keyframes spark-3 {
163
+ 0%, 49% { opacity: 0; transform: translate(0, 0) scale(0); }
164
+ 50% { opacity: 1; transform: translate(0, 0) scale(1); }
165
+ 70% { opacity: 0; transform: translate(3px, 3px) scale(0); }
166
+ 71%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
167
+ }
168
+
169
+ /* Sweat: one drop every 6s */
170
+ @keyframes sweat-fly {
171
+ 0%, 55% { opacity: 0; transform: translate(0, 0) scale(0); }
172
+ 60% { opacity: 1; transform: translate(0, 0) scale(1); }
173
+ 80% { opacity: 0; transform: translate(-6px, -6px) scale(0.5); }
174
+ 100% { opacity: 0; }
175
+ }
176
+ </style>
177
+
178
+ <!-- Pixel Spark -->
179
+ <g id="pixel-spark">
180
+ <rect x="0" y="0" width="1" height="1"/>
181
+ </g>
182
+ </defs>
183
+
184
+ <!-- Ground Shadows -->
185
+ <rect class="shadow-anim" x="3" y="15" width="9" height="1" fill="#000000"/>
186
+ <rect x="16" y="15" width="7" height="1" fill="#000000" opacity="0.4"/>
187
+
188
+ <!-- Metal Block / Anvil -->
189
+ <g transform="translate(17, 13)">
190
+ <rect x="0" y="2" width="5" height="1" fill="#546E7A"/>
191
+ <rect x="1" y="0" width="3" height="2" fill="#78909C"/>
192
+ <rect x="1.5" y="-0.5" width="2" height="1" class="hot-metal"/>
193
+ </g>
194
+
195
+ <!-- Impact Sparks -->
196
+ <g fill="#FFC107" transform="translate(19, 12.5)">
197
+ <use href="#pixel-spark" class="spark s1"/>
198
+ <use href="#pixel-spark" class="spark s2"/>
199
+ <use href="#pixel-spark" class="spark s3"/>
200
+ </g>
201
+
202
+ <!-- Legs (bounce with body, no squash) -->
203
+ <g class="body-bounce" fill="#DE886D">
204
+ <rect x="3" y="13" width="1" height="2"/>
205
+ <rect x="5" y="13" width="1" height="2"/>
206
+ <rect x="9" y="13" width="1" height="2"/>
207
+ <rect x="11" y="13" width="1" height="2"/>
208
+ </g>
209
+
210
+ <!-- Body group [bounce > breathe] -->
211
+ <g class="body-bounce">
212
+ <g class="breathe">
213
+
214
+ <!-- Sweat (bounces + breathes, outside squash) -->
215
+ <g transform="translate(1, 8)">
216
+ <g class="sweat" fill="#40C4FF">
217
+ <rect x="0" y="1" width="1.5" height="1.5"/>
218
+ <rect x="0.25" y="0" width="1" height="1"/>
219
+ </g>
220
+ </g>
221
+
222
+ <!-- Body core [squash] — only torso + hat + eyes get squashed -->
223
+ <g class="body-squash">
224
+
225
+ <!-- Torso -->
226
+ <rect x="2" y="6" width="11" height="7" fill="#DE886D"/>
227
+
228
+ <!-- Eyes [look 5s > blink 4s] — 放在 helmet 之前, 让帽子压过眼睛 -->
229
+ <g class="eyes-look">
230
+ <g class="blink" fill="#000">
231
+ <rect x="4" y="8" width="1" height="2"/>
232
+ <rect x="10" y="8" width="1" height="2"/>
233
+ </g>
234
+ </g>
235
+
236
+ <!-- Helmet (from helmet-tryon-v1: 三色橙, translate(0.5 1) scale(0.7) — v1 下移 1 格戴更低) -->
237
+ <g id="helmet" transform="translate(0.5 1) scale(0.7)">
238
+ <g fill="#EFA74A">
239
+ <rect x="7" y="0" width="6" height="1"/>
240
+ <rect x="7" y="1" width="6" height="1"/>
241
+ <rect x="14" y="1" width="2" height="1"/>
242
+ <rect x="2" y="2" width="3" height="1"/>
243
+ <rect x="7" y="2" width="2" height="1"/>
244
+ <rect x="11" y="2" width="2" height="1"/>
245
+ <rect x="14" y="2" width="4" height="1"/>
246
+ <rect x="2" y="3" width="3" height="1"/>
247
+ <rect x="7" y="3" width="1" height="1"/>
248
+ <rect x="14" y="3" width="4" height="1"/>
249
+ <rect x="1" y="4" width="4" height="1"/>
250
+ <rect x="7" y="4" width="1" height="1"/>
251
+ <rect x="14" y="4" width="5" height="1"/>
252
+ <rect x="1" y="5" width="4" height="1"/>
253
+ <rect x="7" y="5" width="1" height="1"/>
254
+ <rect x="12" y="5" width="1" height="1"/>
255
+ <rect x="14" y="5" width="5" height="1"/>
256
+ <rect x="1" y="6" width="4" height="1"/>
257
+ <rect x="8" y="6" width="1" height="1"/>
258
+ <rect x="11" y="6" width="1" height="1"/>
259
+ <rect x="14" y="6" width="5" height="1"/>
260
+ <rect x="1" y="7" width="1" height="1"/>
261
+ <rect x="0" y="9" width="20" height="1"/>
262
+ </g>
263
+ <g fill="#B7782E">
264
+ <rect x="6" y="1" width="1" height="1"/>
265
+ <rect x="13" y="1" width="1" height="1"/>
266
+ <rect x="6" y="2" width="1" height="1"/>
267
+ <rect x="9" y="2" width="2" height="1"/>
268
+ <rect x="13" y="2" width="1" height="1"/>
269
+ <rect x="6" y="3" width="1" height="1"/>
270
+ <rect x="8" y="3" width="4" height="1"/>
271
+ <rect x="13" y="3" width="1" height="1"/>
272
+ <rect x="6" y="4" width="1" height="1"/>
273
+ <rect x="8" y="4" width="4" height="1"/>
274
+ <rect x="13" y="4" width="1" height="1"/>
275
+ <rect x="6" y="5" width="1" height="1"/>
276
+ <rect x="9" y="5" width="2" height="1"/>
277
+ <rect x="13" y="5" width="1" height="1"/>
278
+ <rect x="6" y="6" width="1" height="1"/>
279
+ <rect x="9" y="6" width="2" height="1"/>
280
+ <rect x="13" y="6" width="1" height="1"/>
281
+ <rect x="7" y="7" width="1" height="1"/>
282
+ <rect x="12" y="7" width="1" height="1"/>
283
+ <rect x="1" y="8" width="18" height="1"/>
284
+ </g>
285
+ <g fill="#FAB253">
286
+ <rect x="5" y="1" width="1" height="1"/>
287
+ <rect x="5" y="2" width="1" height="1"/>
288
+ <rect x="5" y="3" width="1" height="1"/>
289
+ <rect x="12" y="3" width="1" height="1"/>
290
+ <rect x="5" y="4" width="1" height="1"/>
291
+ <rect x="12" y="4" width="1" height="1"/>
292
+ <rect x="5" y="5" width="1" height="1"/>
293
+ <rect x="8" y="5" width="1" height="1"/>
294
+ <rect x="11" y="5" width="1" height="1"/>
295
+ <rect x="5" y="6" width="1" height="1"/>
296
+ <rect x="7" y="6" width="1" height="1"/>
297
+ <rect x="12" y="6" width="1" height="1"/>
298
+ <rect x="2" y="7" width="5" height="1"/>
299
+ <rect x="8" y="7" width="4" height="1"/>
300
+ <rect x="13" y="7" width="6" height="1"/>
301
+ </g>
302
+ </g>
303
+
304
+ </g>
305
+
306
+ <!-- Left arm (bounces + breathes, NO squash) -->
307
+ <g class="arm-l-rest">
308
+ <rect x="0" y="9" width="2" height="2" fill="#DE886D"/>
309
+ </g>
310
+
311
+ </g>
312
+ </g>
313
+
314
+ <!-- Right arm + hammer [bounce > breathe] (separate group, same classes = auto sync) -->
315
+ <g class="body-bounce">
316
+ <g class="breathe">
317
+ <g class="arm-hammer">
318
+ <rect x="13" y="9" width="2" height="2" fill="#DE886D"/>
319
+ <!-- Hammer -->
320
+ <g>
321
+ <!-- Handle -->
322
+ <rect x="13.5" y="4" width="1" height="6" fill="#795548"/>
323
+ <!-- Head -->
324
+ <rect x="12.5" y="3" width="3" height="2" fill="#9E9E9E"/>
325
+ </g>
326
+ </g>
327
+ </g>
328
+ </g>
329
+ </svg>