Multiple turtles: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 14: Line 14:
     t2.lookTo(t1.pos);
     t2.lookTo(t1.pos);
     t2.fd(20);
     t2.fd(20);
     action = setTimeout(run,100);
     action = setTimeout(chase,100);
}
}
chase();
chase();
Line 39: Line 39:
   t2.cs();
   t2.cs();
}
}
run();
</script>
</script>
</html>
</html>

Revision as of 18:24, 11 January 2009


Output

References

This example is from