Distorted oscillation from the lace capital
Log in to post a comment.
// You can find the Turtle API reference here: https://turtletoy.net/syntax Canvas.setpenopacity(1); // Global code will be evaluated once. const turtle = new Turtle(); turtle.penup(); turtle.goto(-150,30); turtle.pendown(); let sscale = 1000; // The walk function will be called until it returns false. function walk(i) { s = Math.sin(i/sscale); c = Math.cos(i/sscale); s2= Math.sin(i/(sscale/2)); turtle.forward(0.005+0.05*(1+s)*(1+i/1200000)); turtle.right(0.003+s2*8) return i < 4000000; }