Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
Line 73: Line 73:
<script type="text/javascript">
<script type="text/javascript">
<!--
<!--
-
var r=280;
+
var r=271;
var rad=0;
var rad=0;
var x;
var x;
Line 83: Line 83:
var t;
var t;
-
function spin(){
+
function spin right(){
AAA=setInterval(function(){
AAA=setInterval(function(){
-
if(rad==360){rad=0;}
+
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);

Revision as of 07:27, 5 September 2015

factory1