Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > HTML/XHTML

  • Print
  • + Share This
This chapter is from the book

Wrapping UP

The canvas element and the 2D JavaScript API have a lot of potential, and indeed, many games and JavaScript libraries are beginning to use them to their full potential.

Because you can draw a video directly onto a canvas, it allows you to do simple tasks like take screen shots and keep a copy of a playing video in sync with a version in the canvas. You can also manipulate pixels by obtaining the image data and then drawing it back onto the canvas.

The next chapter also focuses on video and images, but this time with another format that has been in existence before HTML5 but seems to have come to the forefront since HTML5 has become more popular. Scalable Vector Graphics (SVG) is up next.

  • + Share This
  • 🔖 Save To Your Account