Canvas images animation

Hello guys! I need your advice! I've never worked with js canvas, but now, on my work i need to make an animation of spinning globe from 140+ images like it maked here: https://rnd.nlmk.com/ (scroll through main page to find the globe). How to implement something like that? I didn't found anything relative to this problem. I made it in react with simple image index change via state, but it's laggy a bit and not smooth on spinning. Any suggestions?
3 Replies
CodeNascher
CodeNascher2y ago
there are lots of tutorials about sprite/spritesheet animation with canvas on youtube. check FranksLaboratory for example.
RobyDobyDingo
RobyDobyDingo2y ago
Thank you! I didn't know how it calls
CodeNascher
CodeNascher2y ago
no problem. frank has at least 3-4 videos about sprites. i think they're really good and well organized
Want results from more Discord servers?
Add your server