https://codepen.io/nikhiltyagicse/pen/NWbXwPE?editors=1001
1)
In Your Code
// Create the background image animation - this needs to come first
for (let i = 0; i < frameCount; i++) {
// Show the image briefly
tl.to(frameImages[i], {opacity: 1}, i);
// Hide the image after a bit
if(i !== frameCount - 1) {
tl.to(frameImages[i], {opacity: 0}, i + 1);
}
}
I want to use canvas to display hide images, how can i do that,
2) startpercent, endpercent
Small Description, how to declare these value correctly;
Example: i have a animation of duration :75, If i want to start first animation at 0.3 sec and end at 0.5 sec.
What is the best way to calculate.
3) Declare startScrollTL
I need help in declaring startScrollTL
What am i doing wrong?
Pls help, i am trying this from many days, aligning text and bg images, Any help/ guidance would be appreciated