58
edits
m (→Overview) |
m (→Overview) |
||
Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
Canvas is an HTML element that allows you to generate images using javascript. This is in contrast to [http://en.wikipedia.org/wiki/SVG SVG] and [http://en.wikipedia.org/wiki/VML VML] which are systems for generating Vector | Canvas is an HTML element that allows you to generate images using javascript. This is in contrast to [http://en.wikipedia.org/wiki/SVG SVG] and [http://en.wikipedia.org/wiki/VML VML] which are systems for generating Vector primitives that are added to the DOM. | ||
In contrast Canvas elements act just like <img> elements in that they are represented by only one DOM element, and are comprised of a 2D grid of pixels. | In contrast Canvas elements act just like <img> elements in that they are represented by only one DOM element, and are comprised of a 2D grid of pixels. |
edits