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


const LINE = 0;// min=0, max=5000, step=1

const SPIN = 0;// min=0, max=5000, step=1

let random;

function init(s){
random = new Random(LINE);
random = new Random(SPIN);


}

// The walk function will be called until it returns false.
function walk(t) {
    turtle.forward(-1000);
    turtle.right(SPIN/LINE);
    turtle.left(LINE*SPIN);
    turtle.forward(LINE-SPIN)
    return t < 1000;
}