HTML5 Canvas Tutorial

If you haven’t tried the html5 canvas tag yet, I suggest you give it a try. It falls under the same category as ActionScript’s Graphics and BitmapData classes. It is however much much simpler. One great thing about it is it runs really fast on IOS5. Have a look at some of these demos to see what I mean: http://zreference.com/projects/graphics/

A few days ago I recorded this short video tutorial… it’s very simple, but it will get you started if you’ve never tried canvas before:

2 comments

  1. hi Zevan, i’ve just use your equation as follow:
    x = r sin(u) cos(v)
    y = r cos(u) cos(v)
    z = r sin(v)
    and i’ve just success create a sphere (a ball actually) by multi shape, but i don’t know how to fix their rotation, can you explain more about this?

Leave a Reply

Your email address will not be published. Required fields are marked *