Fork: Fibonacci Circles

Forked with a minor additions for MSK

Log in to post a comment.

// Forked from "Fibonacci Circles" by MSK
// https://turtletoy.net/turtle/33cba3e64d

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


const turtle = new Turtle();
const angle=251 // min = 1 max = 360 step = 1
const count= 9000 // min=100 max=22000 step=100
turtle.penup();
turtle.goto(0,0);
turtle.pendown();


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