Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 408: | Line 408: | ||
var step= Math.ceil((tend-tstart)/canv.width); | var step= Math.ceil((tend-tstart)/canv.width); | ||
- | ctx.strokeStyle= sim.molecules[i]. | + | ctx.strokeStyle= sim.molecules[i].curve_color; |
for(var ti= tstart ; ti < tend ; ti += step) | for(var ti= tstart ; ti < tend ; ti += step) | ||
{ | { |
Revision as of 01:37, 3 August 2013