English subtitles

← What is canvas - HTML5 Game Development

Get Embed Code
8 Languages

Showing Revision 8 created 05/25/2016 by Udacity Robot.

  1. So, the first thing we need to know is, what is canvas? Canvas is a new HTML5
  2. element which exposes APIs allowing you to draw graphs, images, and text
  3. to portions of the page. A canvas only has two attributes specific to it, width and
  4. height, which specify what size this drawing surface is on your page. Since
  5. canvas is effectively a large memory blob of pixel data, or bitmap for you
  6. Yankees, it closely resembles the memory layouts that game developers have been
  7. using for years to generate 2D games.