Doily attractor
Log in to post a comment.
// You can find the Turtle API reference here: https://turtletoy.net/syntax Canvas.setpenopacity(0.05); // Global code will be evaluated once. const turtle = new Turtle(); turtle.penup(); turtle.goto(-50, 0); turtle.pendown(); function walk(i) { turtle.forward(Math.cos( 100/(i+8))); turtle.right((i+8)*(i+8)); return i < 1000000; }