Answer the question
In order to leave comments, you need to log in
Canvas, how to implement such a smooth movement of pictures?
Here is the original:
https://simplychocolate.dk/
The lower part of the screen, where the pictures move smoothly. How to do this? I looked at the structure, they did it on canvas as I understand it. Do you have similar examples on canvas?
I haven't worked with canvas yet.
There is also an option to make the bottom block a picture and use css animation to loop the movement, but I don’t know if it will load the site heavily or not, because there will be at least 5 such blocks
Answer the question
In order to leave comments, you need to log in
Perhaps all sorts of linear interpolations are used there, or maybe just css-animation.
For all kinds of parallax, I recommend you this library: https://dixonandmoe.com/rellax/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question