H
H
hatealleverything2021-03-10 08:28:08
JavaScript
hatealleverything, 2021-03-10 08:28:08

How can I load many pictures in a canvas and move them all?

Good afternoon, I would like to make something like a horizontal tape measure on Canvas. And very strongly stuck with it. I don’t understand how you can draw a lot of pictures and work with them, move them, and so on, I tried through a loop, but it didn’t end with anything good ..
Something similar, but not on Canvas
https://codepen.io /messness/pen/PRMyLp

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
twobomb, 2021-03-10
@hatealleverything

M
MK, 2021-03-10
@Maxsior

Here is the method and examples you need:
https://developer.mozilla.org/ru/docs/Web/API/Canv...
If we are talking about animation, then read here:
https://developer. mozilla.org/en/docs/Web/API/Canv...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question