nice harmonics

Some number series whoms name I do not remember - Walk

Log in to post a comment.

// You can find the Turtle API reference here: https://turtletoy.net/syntax
Canvas.setpenopacity(2);

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

past = 0
now  = 1

// The walk function will be called until it returns false.
function walk(i) {
    next = now + past
    past = now
    now  = next
    turtle.forward(next)
    turtle.right(170)
    return i < 25;
}