Does not use a loop
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,-50); // this is the starting point turtle.pendown(); // start simple don't worry about a loop turtle.forward(100); turtle.right(90); turtle.forward(100); turtle.right(90); turtle.forward(100); turtle.right(90); turtle.forward(100); turtle.right(90);