Roadkill

a magnificent squishy turtle

Log in to post a comment.

// Global code will be evaluated once.
// Global code will be evaluated once.
const turtle = new Turtle();

// The walk function will be called until it returns false.
function walk(i) {
    turtle.forward(2);
    if ((((i & -i) << 1) & i) != 0) {
        turtle.circle(-3, 90);
    } else {
        turtle.circle(7,15);
    }
    return i < (2<<8);
}