Team:Acton-BoxboroughRHS/Simulations
From 2014hs.igem.org
(Difference between revisions)
Line 122: | Line 122: | ||
<h style="font-size:50px;font-family:Arial">Simulations</h> | <h style="font-size:50px;font-family:Arial">Simulations</h> | ||
<p style="font-size:12px;font-family:Arial">Note that this is test JavaScript:</p> | <p style="font-size:12px;font-family:Arial">Note that this is test JavaScript:</p> | ||
+ | <br></br> | ||
+ | |||
+ | <canvas id ="p_canvas"></canvas> | ||
+ | <script> | ||
+ | pc=document.getElementById("p_canvas"); | ||
+ | ctx=canvas.getContext("2d"); | ||
+ | |||
+ | ctx.strokeStyle="green"; | ||
+ | ctx.beginPath(); | ||
+ | ctx.arc(100,75,50,0,2*Math.PI); | ||
+ | ctx.stroke(); | ||
+ | ctx.closePath(); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<canvas id="canvas"></canvas> | <canvas id="canvas"></canvas> | ||
<script> | <script> |
Revision as of 01:50, 26 May 2014
Note that this is test JavaScript:
Message