Multiple turtles: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
t2.lookTo(t1.pos); | t2.lookTo(t1.pos); | ||
t2.fd(20); | t2.fd(20); | ||
action = setTimeout( | action = setTimeout(chase,100); | ||
} | } | ||
chase(); | chase(); | ||
Line 39: | Line 39: | ||
t2.cs(); | t2.cs(); | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |