Answer the question
In order to leave comments, you need to log in
How to make frame-by-frame animation in HTML?
There is a set of pictures.
Example:
1) person standing (basic)
2) person raising hand (frame from process)
3) person with hand raised
4) person raising leg (frame from process)
5) person with leg raised
The goal is:
A JavaScript function is called and animation takes place.
What options do I have:
1) html canvas
2) render in layers and transform: scale(0); transform:scale(1);
3) use GIF
Which option is the most cross-browser and optimal?
Answer the question
In order to leave comments, you need to log in
And what's with the canvas? Or do you write tags from the bulldozer? Cho then without 3D?
The second option is weird.
Gif in my opinion is the simplest, if there are few colors in the picture
Otherwise, do frame-by-frame animation using css animation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question