THE SUN!

DON"T LOOK DIRECTLY INTO MY SUN OR WILL WILL BLIND

WARNING THIS IS A HIGH QUALITY TURTLE IMAGE

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

// The walk function will be called until it returns false.
count = 0
count2 = 1
a = 10
b = 33

function walk(i) {
    turtle.forward(a);
    turtle.right(b);
    turtle.forward(a);
    turtle.left(b);
    count++;
    if (count%3==0){
        a *= -1
        b *= -1
        count2++
    };
    
    if (count2%2==0){
        count2++
        turtle.right(15)
        turtle.forward(5)
    };
    return i < 400;
}