@ipv9/tokentracker-cli 0.39.0
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.
- package/LICENSE +21 -0
- package/README.ja.md +464 -0
- package/README.ko.md +464 -0
- package/README.md +476 -0
- package/README.zh-CN.md +469 -0
- package/bin/tracker.js +52 -0
- package/dashboard/dist/app-icon.png +0 -0
- package/dashboard/dist/apple-touch-icon.png +0 -0
- package/dashboard/dist/assets/ActivityHeatmap-BxBGHY1z.js +42 -0
- package/dashboard/dist/assets/Card-GROxUc_6.js +1 -0
- package/dashboard/dist/assets/DashboardPage-BZ5VFoBk.js +19 -0
- package/dashboard/dist/assets/DevicePage-CQts7ivB.js +1 -0
- package/dashboard/dist/assets/DialogTitle-DqFsk26U.js +1 -0
- package/dashboard/dist/assets/FadeIn-HBBXW_3q.js +1 -0
- package/dashboard/dist/assets/HeaderGithubStar-COD2HfaF.js +1 -0
- package/dashboard/dist/assets/IpCheckPage-Cn0l8-BQ.js +15 -0
- package/dashboard/dist/assets/LandingPage-CmV1BMU4.js +4356 -0
- package/dashboard/dist/assets/LeaderboardAvatar-CiIpWZwb.js +1 -0
- package/dashboard/dist/assets/LeaderboardPage-BU0mlR3g.js +6 -0
- package/dashboard/dist/assets/LeaderboardProfileModal-C49_3Xm9.js +72 -0
- package/dashboard/dist/assets/LeaderboardProfilePage-Bh1n0BAM.js +1 -0
- package/dashboard/dist/assets/LimitsPage-fZAmwLWT.js +2 -0
- package/dashboard/dist/assets/LocalOnlyNotice-D3rQdA-P.js +1 -0
- package/dashboard/dist/assets/LoginPage-enO4XP-c.js +1 -0
- package/dashboard/dist/assets/PopoverPopup-pitJEpN1.js +1 -0
- package/dashboard/dist/assets/Select-tT9x4ntD.js +1 -0
- package/dashboard/dist/assets/SelectItemText-C7F7eIm0.js +1 -0
- package/dashboard/dist/assets/SettingsPage-pDasZNU2.js +1 -0
- package/dashboard/dist/assets/SkillsPage-DEu7FY-2.js +1 -0
- package/dashboard/dist/assets/WidgetsPage-DGcO7rbp.js +1 -0
- package/dashboard/dist/assets/WrappedPage-D_1ID213.js +1 -0
- package/dashboard/dist/assets/agent-logos-DXQVg1xy.js +1 -0
- package/dashboard/dist/assets/arrow-up-right-DNLo92Ba.js +1 -0
- package/dashboard/dist/assets/download-DbBBBpJF.js +1 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-400-normal-BPBWmzPh.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-400-normal-Ce5q_31Z.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-500-normal-CJBLNVQT.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-500-normal-mNhfPmgl.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-700-normal-DH5Q319x.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-700-normal-VCNRadI3.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-900-normal-BKC3PZkM.woff +0 -0
- package/dashboard/dist/assets/geist-mono-cyrillic-900-normal-DdrQ8KBw.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-400-normal-CoULgQGM.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-400-normal-LC9RFr9I.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-500-normal-D3o2eNa9.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-500-normal-DOxI7kZ4.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-700-normal-D6izGJRP.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-700-normal-QGw08Lff.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-900-normal-CmoKXrdK.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-900-normal-Cu5MFKsu.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-400-normal-Cgks_Qgx.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-400-normal-CxNRRMGd.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-500-normal-CQcGuCNt.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-500-normal-diTenJ8L.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-700-normal-BX9f1BHp.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-700-normal-YOllDaLV.woff2 +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-900-normal-Br6WNUGb.woff +0 -0
- package/dashboard/dist/assets/geist-mono-latin-ext-900-normal-CrmBTzU2.woff2 +0 -0
- package/dashboard/dist/assets/index-BeoRn2gJ.js +2 -0
- package/dashboard/dist/assets/info-Bh5qTz6k.js +1 -0
- package/dashboard/dist/assets/main-BIY3Nj6I.js +969 -0
- package/dashboard/dist/assets/main-G_F9Iu_x.css +1 -0
- package/dashboard/dist/assets/use-limits-display-prefs-B4iJ-bBc.js +1 -0
- package/dashboard/dist/assets/use-native-settings-DHjPFDv8.js +1 -0
- package/dashboard/dist/assets/use-usage-limits-odqe9OY7.js +1 -0
- package/dashboard/dist/assets/useCurrency-BsSZiZMP.js +1 -0
- package/dashboard/dist/assets/useOpenInteractionType-BQhgq4rv.js +12 -0
- package/dashboard/dist/brand-logos/antigravity.svg +1 -0
- package/dashboard/dist/brand-logos/claude-code.svg +1 -0
- package/dashboard/dist/brand-logos/codebuddy.svg +1 -0
- package/dashboard/dist/brand-logos/codex.svg +15 -0
- package/dashboard/dist/brand-logos/copilot.svg +1 -0
- package/dashboard/dist/brand-logos/cursor.svg +1 -0
- package/dashboard/dist/brand-logos/gemini.svg +1 -0
- package/dashboard/dist/brand-logos/grok.svg +1 -0
- package/dashboard/dist/brand-logos/hermes.svg +1 -0
- package/dashboard/dist/brand-logos/kilo.svg +4 -0
- package/dashboard/dist/brand-logos/kimi.svg +1 -0
- package/dashboard/dist/brand-logos/kiro.svg +1 -0
- package/dashboard/dist/brand-logos/openclaw.svg +22 -0
- package/dashboard/dist/brand-logos/opencode.svg +3 -0
- package/dashboard/dist/clawd/happy.svg +161 -0
- package/dashboard/dist/clawd/idle/collapse.svg +101 -0
- package/dashboard/dist/clawd/idle/doze.svg +72 -0
- package/dashboard/dist/clawd/idle/follow.svg +64 -0
- package/dashboard/dist/clawd/idle/living.svg +196 -0
- package/dashboard/dist/clawd/idle/look.svg +115 -0
- package/dashboard/dist/clawd/idle/yawn.svg +158 -0
- package/dashboard/dist/clawd/mini/alert.svg +129 -0
- package/dashboard/dist/clawd/mini/crabwalk.svg +76 -0
- package/dashboard/dist/clawd/mini/enter-sleep.svg +65 -0
- package/dashboard/dist/clawd/mini/enter.svg +115 -0
- package/dashboard/dist/clawd/mini/happy.svg +124 -0
- package/dashboard/dist/clawd/mini/idle-tight.svg +15 -0
- package/dashboard/dist/clawd/mini/idle.svg +83 -0
- package/dashboard/dist/clawd/mini/peek.svg +82 -0
- package/dashboard/dist/clawd/mini/sleep.svg +112 -0
- package/dashboard/dist/clawd/react/double.svg +108 -0
- package/dashboard/dist/clawd/react/drag.svg +102 -0
- package/dashboard/dist/clawd/react/left.svg +102 -0
- package/dashboard/dist/clawd/react/right.svg +102 -0
- package/dashboard/dist/clawd/sleep/collapse-sleep.svg +247 -0
- package/dashboard/dist/clawd/sleep/sleeping.svg +118 -0
- package/dashboard/dist/clawd/sleep/wake.svg +277 -0
- package/dashboard/dist/clawd/static-base.svg +21 -0
- package/dashboard/dist/clawd/status/disconnected.svg +136 -0
- package/dashboard/dist/clawd/status/error.svg +94 -0
- package/dashboard/dist/clawd/status/notification.svg +134 -0
- package/dashboard/dist/clawd/working/building.svg +231 -0
- package/dashboard/dist/clawd/working/carrying.svg +107 -0
- package/dashboard/dist/clawd/working/conducting.svg +118 -0
- package/dashboard/dist/clawd/working/confused.svg +113 -0
- package/dashboard/dist/clawd/working/debugger.svg +91 -0
- package/dashboard/dist/clawd/working/juggling.svg +82 -0
- package/dashboard/dist/clawd/working/overheated.svg +75 -0
- package/dashboard/dist/clawd/working/pushing.svg +125 -0
- package/dashboard/dist/clawd/working/sweeping.svg +79 -0
- package/dashboard/dist/clawd/working/thinking.svg +119 -0
- package/dashboard/dist/clawd/working/typing.svg +153 -0
- package/dashboard/dist/clawd/working/ultrathink.svg +166 -0
- package/dashboard/dist/clawd/working/wizard.svg +98 -0
- package/dashboard/dist/dashboard-dark.png +0 -0
- package/dashboard/dist/favicon-16.png +0 -0
- package/dashboard/dist/favicon-32.png +0 -0
- package/dashboard/dist/favicon.ico +0 -0
- package/dashboard/dist/feed.xml +34 -0
- package/dashboard/dist/icon-192.png +0 -0
- package/dashboard/dist/icon-512.png +0 -0
- package/dashboard/dist/index.html +355 -0
- package/dashboard/dist/llms.txt +53 -0
- package/dashboard/dist/neon_bg.png +0 -0
- package/dashboard/dist/robots.txt +7 -0
- package/dashboard/dist/share.html +140 -0
- package/dashboard/dist/sitemap.xml +27 -0
- package/dashboard/dist/widgets-overview.png +0 -0
- package/package.json +78 -0
- package/scripts/install-local-service.sh +140 -0
- package/scripts/uninstall-local-service.sh +21 -0
- package/src/cli.js +95 -0
- package/src/commands/device-login.js +161 -0
- package/src/commands/diagnostics.js +38 -0
- package/src/commands/doctor.js +96 -0
- package/src/commands/init.js +1195 -0
- package/src/commands/serve.js +351 -0
- package/src/commands/status.js +609 -0
- package/src/commands/sync.js +2285 -0
- package/src/commands/uninstall.js +189 -0
- package/src/commands/wrapped.js +150 -0
- package/src/lib/antigravity-paths.js +48 -0
- package/src/lib/browser-auth.js +281 -0
- package/src/lib/categorizer-utils.js +232 -0
- package/src/lib/claude-categorizer.js +1319 -0
- package/src/lib/claude-config.js +204 -0
- package/src/lib/cli-ui.js +179 -0
- package/src/lib/codex-config.js +350 -0
- package/src/lib/codex-context-breakdown.js +400 -0
- package/src/lib/codex-rollout-parser.js +623 -0
- package/src/lib/codex-token-refresh.js +112 -0
- package/src/lib/cursor-config.js +425 -0
- package/src/lib/debug-flags.js +7 -0
- package/src/lib/diagnostics.js +272 -0
- package/src/lib/doctor.js +338 -0
- package/src/lib/fs.js +91 -0
- package/src/lib/gemini-config.js +288 -0
- package/src/lib/grok-hook.js +351 -0
- package/src/lib/init-flow.js +42 -0
- package/src/lib/local-api.js +1861 -0
- package/src/lib/openclaw-hook.js +420 -0
- package/src/lib/openclaw-session-plugin.js +520 -0
- package/src/lib/opencode-config.js +99 -0
- package/src/lib/passive-mode.js +185 -0
- package/src/lib/pricing/curated-overrides.json +79 -0
- package/src/lib/pricing/index.js +143 -0
- package/src/lib/pricing/litellm-fetcher.js +172 -0
- package/src/lib/pricing/matcher.js +255 -0
- package/src/lib/pricing/seed-snapshot.json +1 -0
- package/src/lib/progress.js +76 -0
- package/src/lib/project-usage-purge.js +106 -0
- package/src/lib/prompt.js +24 -0
- package/src/lib/proxy-env.js +131 -0
- package/src/lib/rollout.js +8442 -0
- package/src/lib/runtime-config.js +122 -0
- package/src/lib/skill-usage.js +267 -0
- package/src/lib/skills-manager.js +1127 -0
- package/src/lib/source-metadata.js +48 -0
- package/src/lib/sqlite-reader.js +136 -0
- package/src/lib/static-server.js +59 -0
- package/src/lib/subscriptions.js +453 -0
- package/src/lib/tracker-paths.js +16 -0
- package/src/lib/upload-throttle.js +148 -0
- package/src/lib/usage-limits.js +1806 -0
- package/src/lib/wrapped-aggregator.js +225 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
.body-react {
|
|
5
|
+
animation: body-panic 3.5s 1 ease-in-out forwards;
|
|
6
|
+
}
|
|
7
|
+
.eyes-react {
|
|
8
|
+
animation: eyes-panic 3.5s 1 ease-in-out forwards;
|
|
9
|
+
}
|
|
10
|
+
.eyes-blink {
|
|
11
|
+
transform-origin: 7.5px 9px;
|
|
12
|
+
animation: blink 3s infinite linear;
|
|
13
|
+
}
|
|
14
|
+
.question-pop {
|
|
15
|
+
transform-origin: center;
|
|
16
|
+
animation: question-fade 3.5s 1 ease-in-out forwards;
|
|
17
|
+
opacity: 0;
|
|
18
|
+
}
|
|
19
|
+
.exclamation-pop {
|
|
20
|
+
transform-origin: center;
|
|
21
|
+
animation: excl-fade 3.5s 1 ease-in-out forwards;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Frantic left-right looking */
|
|
26
|
+
@keyframes body-panic {
|
|
27
|
+
0%, 4% { transform: translate(0px, 0px); }
|
|
28
|
+
10%, 18% { transform: translate(-1px, 0px); }
|
|
29
|
+
24%, 32% { transform: translate(1px, 0px); }
|
|
30
|
+
36% { transform: translate(-1px, 0px); }
|
|
31
|
+
40% { transform: translate(1px, 0px); }
|
|
32
|
+
46%, 72% { transform: translate(1px, -1px); }
|
|
33
|
+
82%, 100%{ transform: translate(0px, 0px); }
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@keyframes eyes-panic {
|
|
37
|
+
0%, 4% { transform: translate(0px, 0px); }
|
|
38
|
+
10%, 18% { transform: translate(-2px, 0px); }
|
|
39
|
+
24%, 32% { transform: translate(2px, 0px); }
|
|
40
|
+
36% { transform: translate(-2px, 0px); }
|
|
41
|
+
40% { transform: translate(2px, 0px); }
|
|
42
|
+
46%, 72% { transform: translate(3px, -2px); }
|
|
43
|
+
82%, 100%{ transform: translate(0px, 0px); }
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes blink {
|
|
47
|
+
0%, 20%, 24%, 60%, 64%, 80%, 84%, 100% { transform: scaleY(1); }
|
|
48
|
+
22%, 62%, 82% { transform: scaleY(0.1); }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Question mark appears early (while looking left) */
|
|
52
|
+
@keyframes question-fade {
|
|
53
|
+
0%, 6% { opacity: 0; transform: translate(-4px, 4px) scale(0.5); }
|
|
54
|
+
12%, 38% { opacity: 1; transform: translate(-4px, 0px) scale(1); }
|
|
55
|
+
44%, 100%{ opacity: 0; transform: translate(-4px, -4px) scale(1.2); }
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Exclamation appears later (while staring up-right) */
|
|
59
|
+
@keyframes excl-fade {
|
|
60
|
+
0%, 42% { opacity: 0; transform: translate(6px, 0px) scale(0.5); }
|
|
61
|
+
48%, 72% { opacity: 1; transform: translate(6px, -4px) scale(1); }
|
|
62
|
+
80%, 100%{ opacity: 0; transform: translate(6px, -8px) scale(1.2); }
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
65
|
+
</defs>
|
|
66
|
+
|
|
67
|
+
<!-- Ground Shadow -->
|
|
68
|
+
<rect x="3" y="15" width="9" height="1" fill="#000000" opacity="0.5"/>
|
|
69
|
+
|
|
70
|
+
<!-- Static Legs (extended upward to prevent gap when body shifts up) -->
|
|
71
|
+
<g fill="#DE886D">
|
|
72
|
+
<rect x="3" y="11" width="1" height="4"/>
|
|
73
|
+
<rect x="5" y="11" width="1" height="4"/>
|
|
74
|
+
<rect x="9" y="11" width="1" height="4"/>
|
|
75
|
+
<rect x="11" y="11" width="1" height="4"/>
|
|
76
|
+
</g>
|
|
77
|
+
|
|
78
|
+
<!-- Animated Upper Body -->
|
|
79
|
+
<g class="body-react">
|
|
80
|
+
<g fill="#DE886D">
|
|
81
|
+
<rect x="2" y="6" width="11" height="7"/>
|
|
82
|
+
<rect x="0" y="9" width="2" height="2"/>
|
|
83
|
+
<rect x="13" y="9" width="2" height="2"/>
|
|
84
|
+
</g>
|
|
85
|
+
<g class="eyes-react">
|
|
86
|
+
<g class="eyes-blink" fill="#000000">
|
|
87
|
+
<rect x="4" y="8" width="1" height="2"/>
|
|
88
|
+
<rect x="10" y="8" width="1" height="2"/>
|
|
89
|
+
</g>
|
|
90
|
+
</g>
|
|
91
|
+
</g>
|
|
92
|
+
|
|
93
|
+
<!-- Question Mark (left side) -->
|
|
94
|
+
<g class="question-pop" fill="#FFFFFF">
|
|
95
|
+
<rect x="1" y="0" width="2" height="1"/>
|
|
96
|
+
<rect x="0" y="1" width="1" height="1"/>
|
|
97
|
+
<rect x="3" y="1" width="1" height="2"/>
|
|
98
|
+
<rect x="2" y="3" width="1" height="1"/>
|
|
99
|
+
<rect x="1" y="4" width="1" height="1"/>
|
|
100
|
+
<rect x="1" y="6" width="1" height="1"/>
|
|
101
|
+
</g>
|
|
102
|
+
|
|
103
|
+
<!-- Exclamation Mark (right side) -->
|
|
104
|
+
<g class="exclamation-pop" fill="#0082FC">
|
|
105
|
+
<rect x="1" y="0" width="1" height="4"/>
|
|
106
|
+
<rect x="1" y="5" width="1" height="1"/>
|
|
107
|
+
</g>
|
|
108
|
+
</svg>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
/* Body sways side to side (held from above) */
|
|
5
|
+
.body-sway {
|
|
6
|
+
transform-origin: 7.5px 6px;
|
|
7
|
+
animation: sway 1.2s infinite alternate ease-in-out;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Leg dangling (from debugger sneak) */
|
|
11
|
+
.leg-dangle-1 {
|
|
12
|
+
animation: dangle-1 0.5s infinite linear;
|
|
13
|
+
transform-origin: top center;
|
|
14
|
+
transform-box: fill-box;
|
|
15
|
+
}
|
|
16
|
+
.leg-dangle-2 {
|
|
17
|
+
animation: dangle-2 0.5s infinite linear;
|
|
18
|
+
transform-origin: top center;
|
|
19
|
+
transform-box: fill-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Arm flailing (from happy wave, slightly slower) */
|
|
23
|
+
.arm-flail-l {
|
|
24
|
+
transform-box: fill-box;
|
|
25
|
+
transform-origin: 100% 50%;
|
|
26
|
+
animation: flail-l 0.2s infinite alternate ease-in-out;
|
|
27
|
+
}
|
|
28
|
+
.arm-flail-r {
|
|
29
|
+
transform-box: fill-box;
|
|
30
|
+
transform-origin: 0% 50%;
|
|
31
|
+
animation: flail-r 0.2s infinite alternate ease-in-out;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Shadow shrinks when lifted */
|
|
35
|
+
.shadow-lift {
|
|
36
|
+
transform-origin: 7.5px 15.5px;
|
|
37
|
+
animation: shadow-pulse 1.2s infinite alternate ease-in-out;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes sway {
|
|
41
|
+
0% { transform: rotate(-3deg) translate(-1px, 0); }
|
|
42
|
+
100% { transform: rotate(3deg) translate(1px, 0); }
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@keyframes dangle-1 {
|
|
46
|
+
0%, 100% { transform: rotate(0deg) scaleY(1); }
|
|
47
|
+
50% { transform: rotate(-25deg) scaleY(0.7); }
|
|
48
|
+
}
|
|
49
|
+
@keyframes dangle-2 {
|
|
50
|
+
0%, 100% { transform: rotate(-25deg) scaleY(0.7); }
|
|
51
|
+
50% { transform: rotate(0deg) scaleY(1); }
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes flail-l {
|
|
55
|
+
0% { transform: rotate(45deg); }
|
|
56
|
+
100% { transform: rotate(85deg); }
|
|
57
|
+
}
|
|
58
|
+
@keyframes flail-r {
|
|
59
|
+
0% { transform: rotate(-45deg); }
|
|
60
|
+
100% { transform: rotate(-85deg); }
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@keyframes shadow-pulse {
|
|
64
|
+
0% { transform: scale(0.7); opacity: 0.2; }
|
|
65
|
+
100% { transform: scale(0.8); opacity: 0.3; }
|
|
66
|
+
}
|
|
67
|
+
</style>
|
|
68
|
+
</defs>
|
|
69
|
+
|
|
70
|
+
<!-- Ground Shadow (small + faint = lifted off ground) -->
|
|
71
|
+
<rect class="shadow-lift" x="3" y="15" width="9" height="1" fill="#000000"/>
|
|
72
|
+
|
|
73
|
+
<!-- Swaying body -->
|
|
74
|
+
<g class="body-sway">
|
|
75
|
+
<!-- Dangling legs -->
|
|
76
|
+
<g fill="#DE886D">
|
|
77
|
+
<rect class="leg-dangle-1" x="3" y="13" width="1" height="2"/>
|
|
78
|
+
<rect class="leg-dangle-2" x="5" y="13" width="1" height="2"/>
|
|
79
|
+
<rect class="leg-dangle-1" x="9" y="13" width="1" height="2"/>
|
|
80
|
+
<rect class="leg-dangle-2" x="11" y="13" width="1" height="2"/>
|
|
81
|
+
</g>
|
|
82
|
+
|
|
83
|
+
<!-- Torso + flailing arms -->
|
|
84
|
+
<g fill="#DE886D">
|
|
85
|
+
<rect x="2" y="6" width="11" height="7"/>
|
|
86
|
+
<g class="arm-flail-l">
|
|
87
|
+
<rect x="0" y="9" width="2" height="2"/>
|
|
88
|
+
</g>
|
|
89
|
+
<g class="arm-flail-r">
|
|
90
|
+
<rect x="13" y="9" width="2" height="2"/>
|
|
91
|
+
</g>
|
|
92
|
+
</g>
|
|
93
|
+
|
|
94
|
+
<!-- >< Eyes (anime squint, drawn with thin lines) -->
|
|
95
|
+
<g fill="none" stroke="#000000" stroke-width="0.7" stroke-linecap="round" stroke-linejoin="round">
|
|
96
|
+
<!-- Left eye: > -->
|
|
97
|
+
<polyline points="4,8 5.5,9 4,10"/>
|
|
98
|
+
<!-- Right eye: < -->
|
|
99
|
+
<polyline points="11,8 9.5,9 11,10"/>
|
|
100
|
+
</g>
|
|
101
|
+
</g>
|
|
102
|
+
</svg>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
.body-react {
|
|
5
|
+
transform-origin: 7.5px 15px;
|
|
6
|
+
animation: body-look-l 2.5s 1 ease-in-out forwards;
|
|
7
|
+
}
|
|
8
|
+
.eyes-react {
|
|
9
|
+
animation: eyes-look-l 2.5s 1 ease-in-out forwards;
|
|
10
|
+
}
|
|
11
|
+
.eyes-blink {
|
|
12
|
+
transform-origin: 7.5px 9px;
|
|
13
|
+
animation: blink 3s infinite linear;
|
|
14
|
+
}
|
|
15
|
+
.question-pop {
|
|
16
|
+
transform-origin: center;
|
|
17
|
+
animation: question-l 2.5s 1 ease-in-out forwards;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
.arm-l-react {
|
|
21
|
+
animation: arm-l-return 2.5s 1 ease-in-out forwards;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Left arm: starts at idle-follow position (0,9), raises up then returns */
|
|
25
|
+
@keyframes arm-l-return {
|
|
26
|
+
0%, 8% { transform: none; }
|
|
27
|
+
16%, 56% { transform: translate(-1px, -2px) rotate(15deg); }
|
|
28
|
+
84%, 100%{ transform: none; }
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Body turns left then returns */
|
|
32
|
+
@keyframes body-look-l {
|
|
33
|
+
0%, 8% { transform: translate(0px, 0px); }
|
|
34
|
+
16%, 56% { transform: translate(-2px, 0px) rotate(-2deg); }
|
|
35
|
+
84%, 100%{ transform: translate(0px, 0px); }
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Eyes lead the body (larger offset) */
|
|
39
|
+
@keyframes eyes-look-l {
|
|
40
|
+
0%, 8% { transform: translate(0px, 0px); }
|
|
41
|
+
16%, 56% { transform: translate(-3px, 0px); }
|
|
42
|
+
84%, 100%{ transform: translate(0px, 0px); }
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Blinking (looping, keeps character alive) */
|
|
46
|
+
@keyframes blink {
|
|
47
|
+
0%, 13%, 17%, 80%, 84%, 100% { transform: scaleY(1); }
|
|
48
|
+
15%, 82% { transform: scaleY(0.1); }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Question mark: pop up, hold, float away */
|
|
52
|
+
@keyframes question-l {
|
|
53
|
+
0%, 12% { opacity: 0; transform: translate(-6px, 6px) scale(0.5); }
|
|
54
|
+
22%, 48% { opacity: 1; transform: translate(-8px, -2px) scale(1); }
|
|
55
|
+
64%, 100%{ opacity: 0; transform: translate(-8px, -8px) scale(1.2); }
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
|
|
59
|
+
<g id="pixel-question">
|
|
60
|
+
<rect x="1" y="0" width="2" height="1"/>
|
|
61
|
+
<rect x="0" y="1" width="1" height="1"/>
|
|
62
|
+
<rect x="3" y="1" width="1" height="2"/>
|
|
63
|
+
<rect x="2" y="3" width="1" height="1"/>
|
|
64
|
+
<rect x="1" y="4" width="1" height="1"/>
|
|
65
|
+
<rect x="1" y="6" width="1" height="1"/>
|
|
66
|
+
</g>
|
|
67
|
+
</defs>
|
|
68
|
+
|
|
69
|
+
<!-- Ground Shadow -->
|
|
70
|
+
<rect x="3" y="15" width="9" height="1" fill="#000000" opacity="0.5"/>
|
|
71
|
+
|
|
72
|
+
<!-- Static Legs -->
|
|
73
|
+
<g fill="#DE886D">
|
|
74
|
+
<rect x="3" y="13" width="1" height="2"/>
|
|
75
|
+
<rect x="5" y="13" width="1" height="2"/>
|
|
76
|
+
<rect x="9" y="13" width="1" height="2"/>
|
|
77
|
+
<rect x="11" y="13" width="1" height="2"/>
|
|
78
|
+
</g>
|
|
79
|
+
|
|
80
|
+
<!-- Animated Upper Body -->
|
|
81
|
+
<g class="body-react">
|
|
82
|
+
<g fill="#DE886D">
|
|
83
|
+
<rect x="2" y="6" width="11" height="7"/>
|
|
84
|
+
<!-- Left arm: base position matches idle-follow (0,9), CSS animates raise+return -->
|
|
85
|
+
<g class="arm-l-react">
|
|
86
|
+
<rect x="0" y="9" width="2" height="2"/>
|
|
87
|
+
</g>
|
|
88
|
+
<rect x="13" y="9" width="2" height="2"/>
|
|
89
|
+
</g>
|
|
90
|
+
<g class="eyes-react">
|
|
91
|
+
<g class="eyes-blink" fill="#000000">
|
|
92
|
+
<rect x="4" y="8" width="1" height="2"/>
|
|
93
|
+
<rect x="10" y="8" width="1" height="2"/>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</g>
|
|
97
|
+
|
|
98
|
+
<!-- Left Question Mark -->
|
|
99
|
+
<g class="question-pop" fill="#40C4FF">
|
|
100
|
+
<use href="#pixel-question" />
|
|
101
|
+
</g>
|
|
102
|
+
</svg>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
.body-react {
|
|
5
|
+
transform-origin: 7.5px 15px;
|
|
6
|
+
animation: body-look-r 2.5s 1 ease-in-out forwards;
|
|
7
|
+
}
|
|
8
|
+
.eyes-react {
|
|
9
|
+
animation: eyes-look-r 2.5s 1 ease-in-out forwards;
|
|
10
|
+
}
|
|
11
|
+
.eyes-blink {
|
|
12
|
+
transform-origin: 7.5px 9px;
|
|
13
|
+
animation: blink 3s infinite linear;
|
|
14
|
+
}
|
|
15
|
+
.question-pop {
|
|
16
|
+
transform-origin: center;
|
|
17
|
+
animation: question-r 2.5s 1 ease-in-out forwards;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
.arm-r-react {
|
|
21
|
+
animation: arm-r-return 2.5s 1 ease-in-out forwards;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Right arm: starts at idle-follow position (13,9), raises up then returns */
|
|
25
|
+
@keyframes arm-r-return {
|
|
26
|
+
0%, 8% { transform: none; }
|
|
27
|
+
16%, 56% { transform: translate(1px, -2px) rotate(-15deg); }
|
|
28
|
+
84%, 100%{ transform: none; }
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Body turns right then returns */
|
|
32
|
+
@keyframes body-look-r {
|
|
33
|
+
0%, 8% { transform: translate(0px, 0px); }
|
|
34
|
+
16%, 56% { transform: translate(2px, 0px) rotate(2deg); }
|
|
35
|
+
84%, 100%{ transform: translate(0px, 0px); }
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Eyes lead the body (larger offset) */
|
|
39
|
+
@keyframes eyes-look-r {
|
|
40
|
+
0%, 8% { transform: translate(0px, 0px); }
|
|
41
|
+
16%, 56% { transform: translate(3px, 0px); }
|
|
42
|
+
84%, 100%{ transform: translate(0px, 0px); }
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Blinking (looping, keeps character alive) */
|
|
46
|
+
@keyframes blink {
|
|
47
|
+
0%, 13%, 17%, 80%, 84%, 100% { transform: scaleY(1); }
|
|
48
|
+
15%, 82% { transform: scaleY(0.1); }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Question mark: pop up, hold, float away */
|
|
52
|
+
@keyframes question-r {
|
|
53
|
+
0%, 12% { opacity: 0; transform: translate(6px, 6px) scale(0.5); }
|
|
54
|
+
22%, 48% { opacity: 1; transform: translate(8px, -2px) scale(1); }
|
|
55
|
+
64%, 100%{ opacity: 0; transform: translate(8px, -8px) scale(1.2); }
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
|
|
59
|
+
<g id="pixel-question">
|
|
60
|
+
<rect x="1" y="0" width="2" height="1"/>
|
|
61
|
+
<rect x="0" y="1" width="1" height="1"/>
|
|
62
|
+
<rect x="3" y="1" width="1" height="2"/>
|
|
63
|
+
<rect x="2" y="3" width="1" height="1"/>
|
|
64
|
+
<rect x="1" y="4" width="1" height="1"/>
|
|
65
|
+
<rect x="1" y="6" width="1" height="1"/>
|
|
66
|
+
</g>
|
|
67
|
+
</defs>
|
|
68
|
+
|
|
69
|
+
<!-- Ground Shadow -->
|
|
70
|
+
<rect x="3" y="15" width="9" height="1" fill="#000000" opacity="0.5"/>
|
|
71
|
+
|
|
72
|
+
<!-- Static Legs -->
|
|
73
|
+
<g fill="#DE886D">
|
|
74
|
+
<rect x="3" y="13" width="1" height="2"/>
|
|
75
|
+
<rect x="5" y="13" width="1" height="2"/>
|
|
76
|
+
<rect x="9" y="13" width="1" height="2"/>
|
|
77
|
+
<rect x="11" y="13" width="1" height="2"/>
|
|
78
|
+
</g>
|
|
79
|
+
|
|
80
|
+
<!-- Animated Upper Body -->
|
|
81
|
+
<g class="body-react">
|
|
82
|
+
<g fill="#DE886D">
|
|
83
|
+
<rect x="2" y="6" width="11" height="7"/>
|
|
84
|
+
<rect x="0" y="9" width="2" height="2"/>
|
|
85
|
+
<!-- Right arm: base position matches idle-follow (13,9), CSS animates raise+return -->
|
|
86
|
+
<g class="arm-r-react">
|
|
87
|
+
<rect x="13" y="9" width="2" height="2"/>
|
|
88
|
+
</g>
|
|
89
|
+
</g>
|
|
90
|
+
<g class="eyes-react">
|
|
91
|
+
<g class="eyes-blink" fill="#000000">
|
|
92
|
+
<rect x="4" y="8" width="1" height="2"/>
|
|
93
|
+
<rect x="10" y="8" width="1" height="2"/>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</g>
|
|
97
|
+
|
|
98
|
+
<!-- Right Question Mark -->
|
|
99
|
+
<g class="question-pop" fill="#FFC107" transform="translate(10, 0)">
|
|
100
|
+
<use href="#pixel-question" />
|
|
101
|
+
</g>
|
|
102
|
+
</svg>
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -25 45 45" width="500" height="500" shape-rendering="crispEdges">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
/* Collapse (0-1s) → Sleep breathing + Zzz (1s onwards, infinite) */
|
|
5
|
+
/* Start pose matches yawn end: body scale(1.05,0.95) translate(0,1px), eyes shut, arms down */
|
|
6
|
+
|
|
7
|
+
.rest-shadow-breathe {
|
|
8
|
+
transform-origin: 7.5px 15.5px;
|
|
9
|
+
animation: sleep-shadow 4.5s infinite ease-in-out 1s;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.rest-shadow-form {
|
|
13
|
+
transform-origin: 7.5px 15.5px;
|
|
14
|
+
animation: rest-shadow-form 1s linear forwards;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rest-breathe {
|
|
18
|
+
transform-origin: 7.5px 15px;
|
|
19
|
+
animation: sleep-breathe 4.5s infinite ease-in-out 1s;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rest-body-frame {
|
|
23
|
+
transform-origin: 7.5px 13px;
|
|
24
|
+
animation: rest-body-frame 1s linear forwards;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rest-torso {
|
|
28
|
+
transform-origin: 2px 6px;
|
|
29
|
+
animation: rest-torso 1s linear forwards;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.rest-arm-l {
|
|
33
|
+
transform-origin: 1px 10px;
|
|
34
|
+
animation: rest-arm-l 1s linear forwards;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rest-arm-r {
|
|
38
|
+
transform-origin: 14px 10px;
|
|
39
|
+
animation: rest-arm-r 1s linear forwards;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.rest-eye-l {
|
|
43
|
+
transform-origin: 4px 8px;
|
|
44
|
+
animation: rest-eye-l 1s linear forwards;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.rest-eye-r {
|
|
48
|
+
transform-origin: 10px 8px;
|
|
49
|
+
animation: rest-eye-r 1s linear forwards;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.rest-leg {
|
|
53
|
+
animation: rest-leg 1s linear forwards;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.rest-leg.left-outer { transform-origin: 3px 12px; }
|
|
57
|
+
.rest-leg.left-inner { transform-origin: 5px 12px; }
|
|
58
|
+
.rest-leg.right-inner { transform-origin: 9px 12px; }
|
|
59
|
+
.rest-leg.right-outer { transform-origin: 11px 12px; }
|
|
60
|
+
|
|
61
|
+
.z-particle { opacity: 0; }
|
|
62
|
+
.z1 { animation: float-1 6s infinite ease-in-out 1s; }
|
|
63
|
+
.z2 { animation: float-2 6s infinite ease-in-out 3s; }
|
|
64
|
+
.z3 { animation: float-3 6s infinite ease-in-out 5s; }
|
|
65
|
+
|
|
66
|
+
/* Shadow: narrow (matching yawn end) → wide (sleeping) */
|
|
67
|
+
@keyframes rest-shadow-form {
|
|
68
|
+
0% { transform: scaleX(0.556); opacity: 0.55; }
|
|
69
|
+
4% { transform: scaleX(0.574); opacity: 0.548; }
|
|
70
|
+
14% { transform: scaleX(0.61); opacity: 0.54; }
|
|
71
|
+
28% { transform: scaleX(0.665); opacity: 0.522; }
|
|
72
|
+
42% { transform: scaleX(0.74); opacity: 0.5; }
|
|
73
|
+
68% { transform: scaleX(0.9); opacity: 0.45; }
|
|
74
|
+
86% { transform: scaleX(1.02); opacity: 0.41; }
|
|
75
|
+
100% { transform: scaleX(1); opacity: 0.4; }
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Body frame: yawn-end squash → neutral (sleeping base) */
|
|
79
|
+
@keyframes rest-body-frame {
|
|
80
|
+
0% { transform: scale(1.05, 0.95) translate(0, 1px); }
|
|
81
|
+
4% { transform: scale(1.058, 0.94) translate(0, 1.1px); }
|
|
82
|
+
14% { transform: scale(1.072, 0.915) translate(0, 1.32px); }
|
|
83
|
+
28% { transform: scale(1.09, 0.875) translate(0, 1.68px); }
|
|
84
|
+
40% { transform: scale(1.1, 0.84) translate(0, 1.95px); }
|
|
85
|
+
66% { transform: scale(1.05, 0.9) translate(0, 1.05px); }
|
|
86
|
+
84% { transform: scale(1.01, 0.98) translate(0, 0.22px); }
|
|
87
|
+
100% { transform: scale(1, 1) translate(0, 0); }
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Torso: standing → splooted flat */
|
|
91
|
+
@keyframes rest-torso {
|
|
92
|
+
0% { transform: translate(0, 0) scale(1, 1); }
|
|
93
|
+
4% { transform: translate(-0.02px, 0.08px) scale(1.004, 0.998); }
|
|
94
|
+
14% { transform: translate(-0.1px, 0.34px) scale(1.018, 0.985); }
|
|
95
|
+
28% { transform: translate(-0.26px, 1.02px) scale(1.045, 0.94); }
|
|
96
|
+
44% { transform: translate(-0.4px, 1.75px) scale(1.08, 0.9); }
|
|
97
|
+
68% { transform: translate(-0.8px, 3.1px) scale(1.14, 0.8); }
|
|
98
|
+
86% { transform: translate(-1.05px, 3.95px) scale(1.19, 0.72); }
|
|
99
|
+
100% { transform: translate(-1px, 4px) scale(1.1818, 0.7143); }
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Arms: relaxed down → flat on ground */
|
|
103
|
+
@keyframes rest-arm-l {
|
|
104
|
+
0% { transform: translate(0, 1px) rotate(-15deg); }
|
|
105
|
+
4% { transform: translate(-0.03px, 1.08px) rotate(-14.5deg); }
|
|
106
|
+
14% { transform: translate(-0.11px, 1.34px) rotate(-13deg); }
|
|
107
|
+
28% { transform: translate(-0.27px, 1.98px) rotate(-9deg); }
|
|
108
|
+
44% { transform: translate(-0.45px, 2.45px) rotate(-7deg); }
|
|
109
|
+
68% { transform: translate(-0.8px, 3.35px) rotate(-2deg); }
|
|
110
|
+
86% { transform: translate(-1.05px, 4.05px) rotate(0deg); }
|
|
111
|
+
100% { transform: translate(-1px, 4px) rotate(0deg); }
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes rest-arm-r {
|
|
115
|
+
0% { transform: translate(0, 1px) rotate(15deg); }
|
|
116
|
+
4% { transform: translate(0.03px, 1.08px) rotate(14.5deg); }
|
|
117
|
+
14% { transform: translate(0.11px, 1.34px) rotate(13deg); }
|
|
118
|
+
28% { transform: translate(0.27px, 1.98px) rotate(9deg); }
|
|
119
|
+
44% { transform: translate(0.45px, 2.45px) rotate(7deg); }
|
|
120
|
+
68% { transform: translate(0.8px, 3.35px) rotate(2deg); }
|
|
121
|
+
86% { transform: translate(1.05px, 4.05px) rotate(0deg); }
|
|
122
|
+
100% { transform: translate(1px, 4px) rotate(0deg); }
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Eyes: shut (scaleY 0.1) → sleeping dashes */
|
|
126
|
+
@keyframes rest-eye-l {
|
|
127
|
+
0% { transform: scale(1, 0.1); }
|
|
128
|
+
4% { transform: translate(0, 0.06px) scale(1.015, 0.1); }
|
|
129
|
+
14% { transform: translate(0, 0.28px) scale(1.06, 0.1); }
|
|
130
|
+
24% { transform: translate(0, 0.6px) scale(1.12, 0.1); }
|
|
131
|
+
52% { transform: translate(-0.15px, 2.1px) scale(1.45, 0.12); }
|
|
132
|
+
78% { transform: translate(-0.35px, 3.8px) scale(1.82, 0.17); }
|
|
133
|
+
100% { transform: translate(-0.5px, 4.5px) scale(2, 0.2); }
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@keyframes rest-eye-r {
|
|
137
|
+
0% { transform: scale(1, 0.1); }
|
|
138
|
+
4% { transform: translate(0, 0.06px) scale(1.015, 0.1); }
|
|
139
|
+
14% { transform: translate(0, 0.28px) scale(1.06, 0.1); }
|
|
140
|
+
24% { transform: translate(0, 0.6px) scale(1.12, 0.1); }
|
|
141
|
+
52% { transform: translate(-0.15px, 2.1px) scale(1.45, 0.12); }
|
|
142
|
+
78% { transform: translate(-0.35px, 3.8px) scale(1.82, 0.17); }
|
|
143
|
+
100% { transform: translate(-0.5px, 4.5px) scale(2, 0.2); }
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Legs: standing → short stubs */
|
|
147
|
+
@keyframes rest-leg {
|
|
148
|
+
0% { transform: translate(0, 0) scale(1, 1); }
|
|
149
|
+
4% { transform: translate(0, -0.03px) scale(1, 0.985); }
|
|
150
|
+
14% { transform: translate(0, -0.14px) scale(1, 0.93); }
|
|
151
|
+
44% { transform: translate(0, -0.4px) scale(1, 0.82); }
|
|
152
|
+
68% { transform: translate(0, -1.4px) scale(1, 0.6); }
|
|
153
|
+
84% { transform: translate(0, -2.4px) scale(1, 0.42); }
|
|
154
|
+
100% { transform: translate(0, -3px) scale(1, 0.3333); }
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* Sleep breathing loop */
|
|
158
|
+
@keyframes sleep-breathe {
|
|
159
|
+
0%, 80%, 100% { transform: scale(1, 1); }
|
|
160
|
+
30%, 40% { transform: scale(1.02, 1.25); }
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@keyframes sleep-shadow {
|
|
164
|
+
0%, 80%, 100% { transform: scaleX(1); opacity: 0.4; }
|
|
165
|
+
30%, 40% { transform: scaleX(1.05); opacity: 0.5; }
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Zzz particle floats */
|
|
169
|
+
@keyframes float-1 {
|
|
170
|
+
0% { transform: translate(5px, 8px) scale(0.4); opacity: 0; }
|
|
171
|
+
10% { opacity: 1; }
|
|
172
|
+
30% { transform: translate(9px, 4px) scale(0.6); }
|
|
173
|
+
50% { transform: translate(4px, 0px) scale(0.8); }
|
|
174
|
+
70% { transform: translate(8px, -4px) scale(1); }
|
|
175
|
+
90% { opacity: 0.8; }
|
|
176
|
+
100% { transform: translate(6px, -8px) scale(1.1); opacity: 0; }
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@keyframes float-2 {
|
|
180
|
+
0% { transform: translate(8px, 9px) scale(0.3); opacity: 0; }
|
|
181
|
+
10% { opacity: 1; }
|
|
182
|
+
30% { transform: translate(5px, 5px) scale(0.5); }
|
|
183
|
+
50% { transform: translate(9px, 1px) scale(0.7); }
|
|
184
|
+
70% { transform: translate(6px, -3px) scale(0.9); }
|
|
185
|
+
90% { opacity: 0.8; }
|
|
186
|
+
100% { transform: translate(8px, -7px) scale(1); opacity: 0; }
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@keyframes float-3 {
|
|
190
|
+
0% { transform: translate(6px, 7px) scale(0.5); opacity: 0; }
|
|
191
|
+
10% { opacity: 1; }
|
|
192
|
+
30% { transform: translate(9px, 3px) scale(0.7); }
|
|
193
|
+
50% { transform: translate(4px, -1px) scale(0.9); }
|
|
194
|
+
70% { transform: translate(8px, -5px) scale(1.1); }
|
|
195
|
+
90% { opacity: 0.8; }
|
|
196
|
+
100% { transform: translate(5px, -9px) scale(1.2); opacity: 0; }
|
|
197
|
+
}
|
|
198
|
+
</style>
|
|
199
|
+
|
|
200
|
+
<g id="pixel-z">
|
|
201
|
+
<rect x="0" y="0" width="4" height="1"/>
|
|
202
|
+
<rect x="2" y="1" width="1" height="1"/>
|
|
203
|
+
<rect x="1" y="2" width="1" height="1"/>
|
|
204
|
+
<rect x="0" y="3" width="4" height="1"/>
|
|
205
|
+
</g>
|
|
206
|
+
|
|
207
|
+
<g id="pixel-z-small">
|
|
208
|
+
<rect x="0" y="0" width="3" height="1"/>
|
|
209
|
+
<rect x="1" y="1" width="1" height="1"/>
|
|
210
|
+
<rect x="0" y="2" width="3" height="1"/>
|
|
211
|
+
</g>
|
|
212
|
+
</defs>
|
|
213
|
+
|
|
214
|
+
<!-- Shadow -->
|
|
215
|
+
<g class="rest-shadow-breathe">
|
|
216
|
+
<rect class="rest-shadow-form" x="-1" y="15" width="17" height="1" fill="#000000" opacity="0.4"/>
|
|
217
|
+
</g>
|
|
218
|
+
|
|
219
|
+
<!-- Zzz particles -->
|
|
220
|
+
<use href="#pixel-z" class="z-particle z1" fill="#90A4AE"/>
|
|
221
|
+
<use href="#pixel-z-small" class="z-particle z2" fill="#B0BEC5"/>
|
|
222
|
+
<use href="#pixel-z" class="z-particle z3" fill="#CFD8DC"/>
|
|
223
|
+
|
|
224
|
+
<!-- Body -->
|
|
225
|
+
<g class="rest-breathe">
|
|
226
|
+
<g fill="#DE886D">
|
|
227
|
+
<rect class="rest-leg left-outer" x="3" y="12" width="1" height="3"/>
|
|
228
|
+
<rect class="rest-leg left-inner" x="5" y="12" width="1" height="3"/>
|
|
229
|
+
<rect class="rest-leg right-inner" x="9" y="12" width="1" height="3"/>
|
|
230
|
+
<rect class="rest-leg right-outer" x="11" y="12" width="1" height="3"/>
|
|
231
|
+
</g>
|
|
232
|
+
|
|
233
|
+
<g class="rest-body-frame">
|
|
234
|
+
<rect class="rest-torso" x="2" y="6" width="11" height="7" fill="#DE886D"/>
|
|
235
|
+
<g class="rest-arm-l">
|
|
236
|
+
<rect x="0" y="9" width="2" height="2" fill="#DE886D"/>
|
|
237
|
+
</g>
|
|
238
|
+
<g class="rest-arm-r">
|
|
239
|
+
<rect x="13" y="9" width="2" height="2" fill="#DE886D"/>
|
|
240
|
+
</g>
|
|
241
|
+
<g fill="#000000">
|
|
242
|
+
<rect class="rest-eye-l" x="4" y="8" width="1" height="2"/>
|
|
243
|
+
<rect class="rest-eye-r" x="10" y="8" width="1" height="2"/>
|
|
244
|
+
</g>
|
|
245
|
+
</g>
|
|
246
|
+
</g>
|
|
247
|
+
</svg>
|