Changeset 13623
- Timestamp:
- 05/09/12 16:39:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/index.js
r13622 r13623 609 609 610 610 $("body").setAttribute("data-visible", newz); 611 intervalSlide = setInterval( doShift, 75, oldz, newz);611 intervalSlide = setInterval(function(){doShift(oldz,newz)}, 75); 612 612 } 613 613 … … 1041 1041 } 1042 1042 1043 /** 1044 * @constructor 1045 */ 1043 1046 function position(s, ring, i) 1044 1047 { 1045 this.x = 0;1046 this.y = 0;1047 1048 1048 switch (s) 1049 1049 { … … 1055 1055 case 0: this.x = ring*0.5 + i*0.5; this.y = -ring + i; break; 1056 1056 } 1057 1058 1057 this.d = function() { return this.x*this.x + this.y*this.y*3/4; } 1059 1058 }
Note:
See TracChangeset
for help on using the changeset viewer.