10. AUDIO & VIDEO CAPTURE
WITH GETUSERMEDIA
Sunday, October 7, 12 10
11. CANVAS
VS
DOM MANIPULATION
Sunday, October 7, 12 11
12. CANVAS
Pro
Pixel manipulation
Easy to draw lines, curves, & shapes from code
Consistent view on browser
Cons
Only supported on modern browser
Need to track position and state for each
object
Developer need to create its own effect and
animation
Sunday, October 7, 12 12
13. DOM MANIPULATION
Pro
Supported on most browsers
Native CSS3 effect and animation
Faster development
Cons
Performance depend on HW acceleration
Cross browser issues
Bad for large DOMs
Sunday, October 7, 12 13