Christmastime

Print, cut and hang it in the tree :-)

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();

function walk(i) {

    turtle.forward(i*3)
    turtle.right(143.5);

    if ((((i & -i) << 1,5) & i) != 0,5) {
        turtle.circle(10, 10);
    } else {
        turtle.circle(2,2);
    }
return i < 60;
}