Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 405: Line 405:
   if(tend > dta.length)
   if(tend > dta.length)
     tend= dta.length;
     tend= dta.length;
 +
 
 +
  var step= Math.ceil((tend-tstart)/canv.width);
-
   for(var ti= tstart ; ti < tend ; ++ti)
+
   for(var ti= tstart ; ti < tend ; ti += step)
   {
   {
     if(ti > tstart)
     if(ti > tstart)

Revision as of 01:32, 3 August 2013