Team:Gifu

From 2014.igem.org

(Difference between revisions)
Line 41: Line 41:
var circle =document.getElementById("point") ;
var circle =document.getElementById("point") ;
var k=90;
var k=90;
-
var z="rad-=1"
+
var  
$(document).ready(function () {
$(document).ready(function () {
Line 47: Line 47:
rad+=1;
rad+=1;
-
if(rad>=360){z};
+
if(rad>=360){rad-=1};
x=r*Math.cos(Math.PI/180*rad);
x=r*Math.cos(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);

Revision as of 08:23, 31 August 2014

factory1