Chapter 8: Dragging Path Shapes & Images on Canvas 98
........................................................................
Section 8.1: How shapes & images REALLY(!) "move" on the Canvas
98
...................................................................
Section 8.2: Dragging circles & rectangles around the Canvas
99
.............................................................................
Section 8.3: Dragging irregular shapes around the Canvas
103
................................................................................
Section 8.4: Dragging images around the Canvas
106
................................................................................................
Chapter 9: Media types and the canvas 109
.......................................................................................................
Section 9.1: Basic loading and playing a video on the canvas
109
.............................................................................
Section 9.2: Capture canvas and Save as webM video
111
........................................................................................
Section 9.3: Drawing an svg image
116
.........................................................................................................................
Section 9.4: Loading and displaying an Image
119
............................................................................................................................................
Section 10.1: Use requestAnimationFrame() NOT setInterval() for animation loops
119
.........................................
Section 10.2: Animate an image across the Canvas
120
..............................................................................................
Section 10.3: Set frame rate using requestAnimationFrame
121
................................................................................
Section 10.4: Easing using Robert Penners equations
121
...........................................................................................
Section 10.5: Animate at a specified interval (add a new rectangle every 1 second)
125
........................................
Section 10.6: Animate at a specified time (an animated clock)
126
...........................................................................
Section 10.7: Don't draw animations in your event handlers (a simple sketch app)
127
.........................................
Section 10.8: Simple animation with 2D context and requestAnimationFrame
129
..................................................
Section 10.9: Animate from [x0,y0] to [x1,y1]