Turtle snow fall: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 26: Line 26:
}
}
t.ht();
t.ht();
snowflake(10,3);
function snow() {
  t.setPos(Math.random()*300-150,Math.random()*300-150);
  snowflake(15,3);
  active = setTimeout(snow,20);
}
snow();
          
          
</textarea><br />
</textarea><br />
Line 44: Line 49:
}
}
function clearturtle() {
function clearturtle() {
  clearTimeout(active);
   t.cs();
   t.cs();
}
}

Revision as of 19:56, 21 December 2008


References