I just wanted to ask for an advice on how the effect with the rotating bottle on scroll is done so smooth on this website: https://takeboost.com/ Is this an svg file or is it frames that are loaded upon scroll?
Thank you in advance!
Using F12 > Network
and refreshing the page, we can see 299 .jpg
are loaded by JavaScript, these images are then drawn to a canvas
when scrolling.
You can also use F12 > Network
to find related JavaScript code:
Initiator
column of these image requests in F12 > Network
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.