jonkwheeler / ScrollScene

ScrollScene is an extra layer on top of ScrollMagic as well as using IntersectionObserver to achieve similar effects.
https://scrollscene.jonkwheeler.now.sh/
MIT License
136 stars 9 forks source link

ScrollWizardry #21

Closed tmjoen closed 4 years ago

tmjoen commented 4 years ago

Hi, and thanks for a great library!

I was wondering if you had checked out ScrollWizardry? It has some updates over ScrollMagic (passive event listeners, 100vh support, and is supposed to be a drop in replacement :)

Sorry to spam the issue tracker if you already had seen this 😬

jonkwheeler commented 4 years ago

Yeah I've seen it. Doesn't solve everything I wanted to originally, but a good library I'm sure. This has 100vh, and so does ScrollMagic. This library is also responsive, meaning you can have a scene last 50px, then 50vh, then 100px, all at different viewports.

In the future I'll being separately ScrollObserver and ScrollScene. I haven't hammered home that they are 2 different things, but achieve very similar effects when done right. ScrollObserver is much more modern, and should be what people use 90% of the time.

p.s. No worries on opening an Issue. Spectrum.chat hasn't been integrated into GitHub yet, but they are beta testing "Discussions" on GitHub now in the Zeit portal. 🎉