Fork: Fork: Fibonacci Circles

Forked to add opacity slider.

Log in to post a comment.

// Forked from "Fork: Fibonacci Circles" by rupertxrussell
// https://turtletoy.net/turtle/22fda7485a

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

// Written by amyKstudio.com

let opacity = .01; // min=.01, max=1, step=.01
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+5)/1));
    turtle.penup();
    turtle.right(angle);
    turtle.forward((1.618*(Math.sqrt(i)))); 
    turtle.pendown();          
    return i < (count);
}