October 2011
Beginner to intermediate
448 pages
9h 25m
English
I have always liked the application of simulating a ball bouncing in a box. Chapter 3 in The Essential Guide to HTML5 features projects showing a ball produced by a path drawing and a ball produced by an image, each bouncing in a two-dimensional enclosure. I decided I wanted to make a video clip do the same thing. My explanation of the coding is complete in this chapter. However, if the first book is available to you (shameless plug), you may benefit from seeing what is the same and what is different among the various versions. In the ball and image applications, the canvas was set to fixed dimensions and was located with other material in the document. Because I did not want my video clip to be too small, ...
Read now
Unlock full access