Slow the Orchestra glow: longer pause between pulses

Lengthens the glow pulse period from 0.9s to 2.6s (macOS + iOS), keeping the bold
amplitude — the easeInOut lingers at the baseline, so each pulse now lands
deliberately with a clear gap rather than strobing. The effort-label sparkle keeps
time with it.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
Nucleic
2026-06-21 01:18:17 +00:00
co-authored by Claude Opus 4.8
parent 19c5e20503
commit e3b6ccc297
@@ -179,8 +179,8 @@ struct EffortMenu: View {
} }
/// A bright golden ring that throbs around a composer while orchestra is selected — the /// A bright golden ring that throbs around a composer while orchestra is selected — the
/// remote echo of the Mac's `OrchestraGlow`, tuned to the same fast, high-amplitude pulse. /// remote echo of the Mac's `OrchestraGlow`: the same bold, high-amplitude swell on a slow
/// Honors Reduce Motion (holds steady). /// beat with a long pause between pulses. Honors Reduce Motion (holds steady).
struct OrchestraGlowModifier: ViewModifier { struct OrchestraGlowModifier: ViewModifier {
var active: Bool var active: Bool
var cornerRadius: CGFloat var cornerRadius: CGFloat
@@ -201,7 +201,7 @@ struct OrchestraGlowModifier: ViewModifier {
radius: animating ? 20 : 4) radius: animating ? 20 : 4)
.animation( .animation(
reduceMotion ? .default reduceMotion ? .default
: .easeInOut(duration: 0.9).repeatForever(autoreverses: true), : .easeInOut(duration: 2.6).repeatForever(autoreverses: true),
value: pulsing) value: pulsing)
.allowsHitTesting(false) .allowsHitTesting(false)
} }