Team:Acton-BoxboroughRHS/Simulations

From 2014hs.igem.org

(Difference between revisions)
Line 126: Line 126:
         <canvas id ="p_canvas" height="500" width="500"></canvas>
         <canvas id ="p_canvas" height="500" width="500"></canvas>
         <script>
         <script>
-
         pc=document.getElementById("p_canvas");
+
         var pc=document.getElementById("p_canvas");
-
         ctx=pc.getContext("2d");
+
         var ctx=pc.getContext("2d");
         pc.width=500;
         pc.width=500;
         pc.height=500;
         pc.height=500;

Revision as of 01:58, 26 May 2014

Welcome to the ABRHS iGEM team

ABRHS
Simulations

Note that this is test JavaScript:



Message