Gifu/rensyuu
From 2014.igem.org
(Difference between revisions)
Line 74: | Line 74: | ||
<!-- | <!-- | ||
var r=280; | var r=280; | ||
- | var rad= | + | var rad=271; |
var x; | var x; | ||
var y; | var y; | ||
Line 86: | Line 86: | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
- | if(rad== | + | if(rad==270){rad=0;} |
else{rad+=2}; | else{rad+=2}; | ||
x=r*Math.cos(Math.PI/180*rad); | x=r*Math.cos(Math.PI/180*rad); | ||
Line 102: | Line 102: | ||
$(document).ready(function () { | $(document).ready(function () { | ||
- | spin() | + | spin right() |
}); | }); | ||
Revision as of 07:29, 5 September 2015