Adding some cutoff/parameters/decay to circle size and tuning :)
fork from Fibonacci Circles
Log in to post a comment.
// Forked from "Fibonacci Circles" by MSK // https://turtletoy.net/turtle/33cba3e64d // Written By Michael Krug let maxRadius = 7000;//min=1,max=16180,step=1 let circleBaseSize = 2;//min=0.01,max=5,step=0.01 let decayRate = 4500;//min=1,max=10000,step=1 let twistRate = 222.4877;//min=1,max=360,step=0.1 Canvas.setpenopacity(1); const turtle = new Turtle(); turtle.penup(); turtle.goto(0,0); turtle.pendown(); function walk(i) { let circleSize = circleBaseSize * Math.pow(Math.E, -i/decayRate) turtle.circle(circleSize); turtle.penup(); turtle.left(twistRate); turtle.forward((1.618*(Math.sqrt(i)))); turtle.pendown(); return i < (maxRadius * 1.6180); }