Fibonacci Circles

I like Fibonacci numbers.
Please give feedback! I am seeking constructive criticism. How can this improve?

Created by MSK on 2019/4/29
264
0

Log in to post a comment.

// Written By Michael Krug
Canvas.setpenopacity(1);


const turtle = new Turtle();
turtle.penup();
turtle.goto(0,0);
turtle.pendown();


function walk(i) {
    turtle.circle((Math.sqrt(i+1.618)/161));
    turtle.penup();
    turtle.right(222.4877);
    turtle.forward((1.618*(Math.sqrt(i)))); 
    turtle.pendown();          
    return i < (16180 * 1.6180);
}