Team:Acton-BoxboroughRHS
From 2014hs.igem.org
(Difference between revisions)
Line 137: | Line 137: | ||
ctx.fillRect(0,0,500,100); | ctx.fillRect(0,0,500,100); | ||
- | + | var x = 0; | |
+ | var y = 0; | ||
+ | var z = 0; | ||
function render(){ | function render(){ | ||
- | ctx.fillStyle="rgb( | + | ctx.fillStyle="rgb(x,y,z)"; |
ctx.font="18px Arial"; | ctx.font="18px Arial"; | ||
- | ctx.fillText("Project E. coli Luwak: Protecting the Copi Luwak with Bacteria" | + | ctx.fillText("Project E. coli Luwak: Protecting the Copi Luwak with Bacteria",10,20); |
+ | x+=2 | ||
+ | y+=3 | ||
+ | z+=5 | ||
+ | |||
setTimeout(render,1000/60); | setTimeout(render,1000/60); | ||
} | } |
Revision as of 19:44, 10 June 2014
Asian Palm Civet, photographed by Praveenp under Wikimedia Commons
The Kopi Luwak
End of page