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(0, 0);
turtle.pendown();

// The walk function will be called until it returns false.
function walk() {
    for (let x=0; x<2000; x++) {
        for (let i=0; i<x; i++){
        turtle.forward(.05);
        turtle.right(i*1000);                    
        }
    };
    return false
}