views:

33

answers:

1

I am looking for a basic example of HTML5 <canvas> animation. For example, making a ball bounce, etc.

If someone has one I would be very grateful.

+1  A: 

Here’s a (very) basic bouncing ball animation example:

Here’s a less basic example: a <canvas> cartoon:

There’s a tutorial over at Mozilla too, which includes an explanation of basic animation:

I think <canvas> is just a drawing surface, rather than something that has any animation capabilities built in. So I think you’re going to have to do a lot of the heavy lifting yourself (with the caveat that I don’t know anything about animation, so I don’t know which bits qualify as heavy lifting).

Paul D. Waite
Thanks I appreciate it
nomoreflash
@nomoreflash: You’re most welcome!
Paul D. Waite