Team:Acton-BoxboroughRHS/Simulations
From 2014hs.igem.org
(Difference between revisions)
Line 140: | Line 140: | ||
ctx.strokeStyle="green"; | ctx.strokeStyle="green"; | ||
ctx.beginPath(); | ctx.beginPath(); | ||
- | ctx.arc(250,250,100, | + | ctx.arc(250,250,100,2*Math.PI, Math.PI); |
ctx.stroke(); | ctx.stroke(); | ||
ctx.strokeStyle="red"; | ctx.strokeStyle="red"; | ||
ctx.beginPath(); | ctx.beginPath(); | ||
- | ctx.arc(250,250,100, | + | ctx.arc(250,250,100,2*Math.PI,1.75*Math.PI); |
ctx.stroke(); | ctx.stroke(); | ||
ctx.strokeStyle="blue"; | ctx.strokeStyle="blue"; | ||
ctx.beginPath(); | ctx.beginPath(); | ||
- | ctx.arc(250,250,100,1. | + | ctx.arc(250,250,100,1.75*Math.PI,1.5*Math.PI); |
+ | ctx.stroke(); | ||
+ | |||
+ | ctx.strokeStyle="orange"; | ||
+ | ctx.beginPath(); | ||
+ | ctx.arc(250,250,100,1.5*Math.PI,1.75*Math.PI); | ||
+ | ctx.stroke(); | ||
+ | |||
+ | ctx.strokeStyle=pink"; | ||
+ | ctx.beginPath(); | ||
+ | ctx.arc(250,250,100,1.25*Math.PI,1.5*Math.PI); | ||
+ | ctx.stroke(); | ||
+ | |||
+ | ctx.strokeStyle="purple"; | ||
+ | ctx.beginPath(); | ||
+ | ctx.arc(250,250,100,Math.PI,1.25*Math.PI); | ||
ctx.stroke(); | ctx.stroke(); | ||
Revision as of 02:18, 26 May 2014
Note that this is test JavaScript:
Message