User:Michael Murtaugh: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 8: Line 8:


{{vimeo|45743577}}
{{vimeo|45743577}}
<canvas width=500 height=500 showsrc=true>
function draw() {
  c = document.getElementById("c");
  p = c.getContext('2d');
  x = 10;
  while(x<300) {
  p.strokeRect(x, x, 20 20);
  x += 20;
  }
}
</canvas>

Revision as of 13:59, 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("c");
 p = c.getContext('2d');
 x = 10;
 while(x<300) {
 p.strokeRect(x, x, 20 20);
 x += 20;
 }

} </canvas>