User:Michael Murtaugh: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 7: Line 7:
{{vimeo|45743577}}
{{vimeo|45743577}}


<canvas width=500 height=500 showsrc=true>
<canvas width=500 height=300 showsrc=true>
function draw() {
function draw() {
   c = document.getElementById("canvas");
   c = document.getElementById("canvas");

Revision as of 15:08, 25 September 2012

Hello.

We talked about how to add numbers today.

My technical plan can be found here.

http://vimeo.com/45743577

<canvas width=500 height=300 showsrc=true> function draw() {

 c = document.getElementById("canvas");
 p = c.getContext('2d');
 x = 10;
 while(x<300) {
 p.strokeRect(x, x, 20, 20);
 x += 20;
 }

} </canvas>