Anyhow, I have a scroll based animation that changes the background colour from purple to black when you scroll down, and then red to black when you scroll up.
At the start of the scroll up there is a flash of black (i.e. the target color)
so when scroll:progress is going from bottom to top, the animation starts at the targets object for a split second, and then proceeds to transition from 100 - 0 (black - purple).
Hello,
Firstly, top script, t'is bloody lovely.
Anyhow, I have a scroll based animation that changes the background colour from purple to black when you scroll down, and then red to black when you scroll up.
At the start of the scroll up there is a flash of black (i.e. the target color)
Then in my scroller
so when scroll:progress is going from bottom to top, the animation starts at the targets object for a split second, and then proceeds to transition from 100 - 0 (black - purple).
FYI, I'm using Vue and FastScroll.
demo hero: http://anime-transition-flicker.surge.sh/#/
Any thoughts, greatly appreciated.