Reading it from the effect was needed here because `animation.currentTime.value` gives you the progress of the _entire timeline_ and not just the _range_ you are targeting.
(Think of Scroll-Driven Animations that use `animation-range`)
With `Animation.overallProgress`, this is now a one-liner 😊
While already very handy, I don’t believe we are entirely there yet: `Animation.overallProgress` allows you to read the progress, but you still need a trigger for _when_ to read it.
This trigger depends on the type of timeline: for ScrollTimeline it is on scroll, and for DocumentTimeline you need a timer.
Seems a bit silly that you need different approaches based on what timeline you use (and also ironic that SDA needs a `scroll` listener). I want portable code.