It's flying around.
Log in to post a comment.
Canvas.setpenopacity(-0.1); const steps = 24000; const size = 61; const turtle = new Turtle(); function walk(i) { turtle.penup(); const term = 1.0357902468 * 2 * Math.PI * i/steps; turtle.goto(size * Math.sin(term), size * Math.cos(term)); turtle.pendown(); const len = 5+2.5*Math.sin(0.5 * Math.PI + term)*Math.cos(0.5 * Math.PI + term); for (let l = 0.02; l < len; l*=1.01) { turtle.right(Math.sin(l + steps/8 * term)) turtle.forward(l); } return i < steps; }