One over one under
Log in to post a comment.
// You can find the Turtle API reference here: https://turtletoy.net/syntax Canvas.setpenopacity(1); // Global code will be evaluated once. const turtle = new Turtle(); turtle.penup(); turtle.goto(-50,0); turtle.pendown(); turtle.right(45); turtle.forward(10); // The walk function will be called until it returns false. function walk(i) { turtle.circle(2,270); turtle.forward(10); turtle.circle(-2,270); turtle.forward(10); return (i <= 10); }