User:Michael Murtaugh: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 15: Line 15:
   x = 10;
   x = 10;
   while(x<300) {
   while(x<300) {
   p.strokeRect(x, x, 20 20);
   p.strokeRect(x, x, 20, 20);
   x += 20;
   x += 20;
   }
   }
}
}
</canvas>
</canvas>

Revision as of 14:00, 25 September 2012

Hello.

We talked about how to add numbers today.

My technical plan can be found here.

User:Michael_Murtaugh

http://vimeo.com/45743577

<canvas width=500 height=500 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>