Hexagon

Yay

Created by Rene on 2018/10/22
95
0

Log in to post a comment.

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

// The walk function will be called until it returns false.
function walk(i) {
    turtle.forward(50);
    turtle.right(360 / 6);
    return i < 6;
}