Template:Team:Bonn:Network
From 2013.igem.org
(Difference between revisions)
Line 533: | Line 533: | ||
} | } | ||
if(general.cradius = 0) { | if(general.cradius = 0) { | ||
- | var cradius = general.cradius; | + | var cradius = general.cradius; |
} else { | } else { | ||
var cradius = 10; | var cradius = 10; | ||
Line 665: | Line 665: | ||
} | } | ||
} | } | ||
- | + | var z = 4/(general.n.length*general.n.length); | |
+ | general.start = general.start-z; | ||
+ | general.end = general.end+z; | ||
if((general.n.length-n)==1) { | if((general.n.length-n)==1) { | ||
var a= (general.end-general.start); | var a= (general.end-general.start); |
Revision as of 22:01, 1 October 2013