Turtle animation of the "8": Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 8: Line 8:
var run = function() {
var run = function() {
   t.fd(2);
   t.fd(2);
   if (Math.floor(alpha / 360) % 2) === 0) {
   if (Math.floor(alpha / 360) % 2 === 0) {
       t.left(1);
       t.left(1);
   } else {
   } else {

Revision as of 07:38, 28 August 2013