Animate stirrer blades proportional to speed

CSS rotation animation on #stirrer-blades group, speed mapped via
--stir-duration custom property (speed=100 → 0.5s, speed=50 → 1s).
Driven by stirrerSpeedIst on each Speed message.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DGKe8JzTM2Gr1fdx9wYXTi
This commit is contained in:
2026-06-26 22:09:22 +02:00
co-authored by Claude Sonnet 4.6
parent 083bc97651
commit 47bbc53d3c
3 changed files with 32 additions and 2 deletions
+13
View File
@@ -152,6 +152,19 @@ header#connection-bar {
display: block;
}
/* Stirrer animation */
@keyframes stir-rotate {
to { transform: rotate(360deg); }
}
#stirrer-blades {
transform-box: fill-box;
transform-origin: 50% 50%;
animation: stir-rotate var(--stir-duration, 1s) linear infinite paused;
}
#stirrer-blades.spinning {
animation-play-state: running;
}
/* Fire animations */
@keyframes flicker-1 {
0%, 100% { transform: scaleY(1.00) scaleX(1.00); }