Team:Acton-BoxboroughRHS/Simulations

From 2014hs.igem.org

(Difference between revisions)
Line 130: Line 130:
         var ctx=c.getContext("2d");
         var ctx=c.getContext("2d");
-
        // Red rectangle
+
     
         ctx.beginPath();
         ctx.beginPath();
-
         ctx.lineWidth="6"
+
         ctx.lineWidth="2"
-
         ctx.strokeStyle="black";           
+
         ctx.strokeStyle="red";           
-
         ctx.rect(0,0, 50, 50)
+
         ctx.rect(0,0, 100, 100)
         ctx.stroke();
         ctx.stroke();

Revision as of 02:01, 26 May 2014

Welcome to the ABRHS iGEM team

ABRHS
Simulations

Note that this is test JavaScript:



Your browser does not support the HTML5 canvas tag.

Message