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"); | ||
- | + | /* | |
ctx.beginPath(); | ctx.beginPath(); | ||
ctx.lineWidth="2" | ctx.lineWidth="2" | ||
Line 136: | Line 136: | ||
ctx.rect(0,0, 100, 100) | ctx.rect(0,0, 100, 100) | ||
ctx.stroke(); | ctx.stroke(); | ||
- | + | */ | |
+ | |||
+ | ctx.strokeStyle="green"; | ||
ctx.beginPath(); | ctx.beginPath(); | ||
- | ctx.arc( | + | ctx.arc(250,250,100,0,2*Math.PI); |
ctx.stroke(); | ctx.stroke(); | ||
Revision as of 02:03, 26 May 2014
Note that this is test JavaScript:
Message