Canvas
Revision as of 15:27, 24 September 2012 by Michael Murtaugh (talk | contribs)
The canvas tag was introduced by Apple and has been standardized to become part of HTML5.
A example for color cycling with the canvas element [[1]]
Get the canvas tag:
c=document.getElementById("c")
Get the "context" (like a paper):
p=c.getContext("2d");
Draw something!
p.fillRect(0, 0, 100, 100);