Just playing with the default new turtle code to try and make something more interesting
Log in to post a comment.
// You can find the Turtle API reference here: https://turtletoy.net/syntax Canvas.setpenopacity(.04); // Global code will be evaluated once. const turtle = new Turtle(); turtle.penup(); turtle.goto(-60,5); turtle.pendown(); // The walk function will be called until it returns false. function walk(i) { turtle.forward(.2); turtle.right(1); if ((i%27)==0) turtle.right(i%97.6464) return i < 3*2350000; }