Better tentacles
All checks were successful
On Push Deploy / deploy (push) Successful in 20s

This commit is contained in:
Johnny322
2026-02-10 16:46:25 +01:00
parent f05066a5a7
commit 7ce8fbd1bb
2 changed files with 21 additions and 0 deletions

View File

@@ -168,6 +168,7 @@
class="pulse-orb" class="pulse-orb"
:class="{ :class="{
active: isPlaying, active: isPlaying,
playing: isPlaying && !isAnswerClip,
answer: isPlaying && isAnswerClip, answer: isPlaying && isAnswerClip,
idle: !currentClipUrl idle: !currentClipUrl
}" }"
@@ -179,6 +180,11 @@
></div> ></div>
<div <div
class="pulse-tentacles" class="pulse-tentacles"
:class="{
playing: isPlaying && !isAnswerClip,
answer: isPlaying && isAnswerClip,
idle: !currentClipUrl
}"
:style="{ '--pulse': pulseLevel.toFixed(3) }" :style="{ '--pulse': pulseLevel.toFixed(3) }"
> >
<span <span

View File

@@ -445,10 +445,25 @@ audio.hidden-audio {
scaleX(calc(0.7 + var(--level, 0) * 0.5)); scaleX(calc(0.7 + var(--level, 0) * 0.5));
transition: height 0.08s ease-out, opacity 0.08s ease-out, transform 0.08s ease-out, filter 0.08s ease-out; transition: height 0.08s ease-out, opacity 0.08s ease-out, transform 0.08s ease-out, filter 0.08s ease-out;
mix-blend-mode: screen; mix-blend-mode: screen;
color: currentColor;
}
.pulse-tentacles.playing {
color: #7df9ff; color: #7df9ff;
}
.pulse-tentacles.playing .tentacle {
animation: planetShift 4s linear infinite; animation: planetShift 4s linear infinite;
} }
.pulse-tentacles.answer {
color: #2bdc7b;
}
.pulse-tentacles.idle {
color: #000;
}
@keyframes pulseGlow { @keyframes pulseGlow {
0%, 0%,