Madness ensues.
Log in to post a comment.
Canvas.setpenopacity(-0.25); const density = 7.5; const turtle = new Turtle(); const outerScale = 36; const size = 90; const _size = outerScale - size; const stops = Array.from(new Array(Math.ceil(72*density)), x => size * Math.random()); let lastStop; function walk(i) { turtle.penup(); turtle.goto(Math.sin(2*Math.PI*i/(360*density)) * outerScale, Math.cos(2*Math.PI*i/(360*density)) * outerScale); turtle.pendown(); const stopsize = _size - stops[Math.floor(i/5)]; turtle.goto(Math.sin(2*Math.PI*i/(360*density)) * stopsize, Math.cos(2*Math.PI*i/(360*density)) * stopsize); return i < 360*density-1; }