V
V
vladislavstarkov2011-02-12 20:08:47
JavaScript
vladislavstarkov, 2011-02-12 20:08:47

HTML5 animation in canvas with JavaScript

How to implement animation on canvas in HTML5?

Is it just to set a time interval after which each time the function will be called, which in turn will re-draw the contents of the canvas, or is there a better way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rafael Osipov, 2011-02-12
@vladislavstarkov

Usually, you simply specify an interval and a drawing function that will be called according to the specified interval.
Here is a good tutorial on animation in canvas

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question