sketch2
Log in to post a comment.
Canvas.setpenopacity(1); const t = new Turtle();for (var j=0;j<6;j++){t.circle(-j);} t.pu();var iter = 20;for (var x = -100; x < 100; x+=iter) { for (var y = -100; y <= 0; y+=iter) { t.goto(x + iter / 2, y + iter / 2);t.pd(); t.setheading(0);for (var i = 0; i < 20; i++) { t.forward(3.25);t.right(500 * Math.sin(x * y + (x / y)));} t.pu();}}for (var j = 0; j < 100; j++) { t.goto(-100, 10 + j * iter/4);t.pd(); t.goto(100, 10 + j * iter/4);}