This one isn't functional
Log in to post a comment.
// You can find the Turtle API reference here: https://turtletoy.net/syntax Canvas.setpenopacity(0.61); // Global code will be evaluated once. const turtle = new Turtle(); turtle.penup(); turtle.goto(0,-50); turtle.pendown(); // The walk function will be called until it returns false. function walk(i) { if(i%8) { turtle.penup(); } else { turtle.pendown(); } turtle.forward(0.2*i); turtle.right(0.2*i); return i < 1200; }