Circles

after an idea from r/PlotterArt

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(0,0);
turtle.pendown();

// The walk function will be called until it returns false.
function walk() {
    for (let x=0; x<11; x++)
    {
        for (let y=0; y<11;y++)
        {
            for (let i=0; i<7;i++)
            {
                hx=-((x-5)*5-i*(x-5)/2)
                hy=-((y-5)*5-i*(y-5)/2)
                turtle.jump(x*20-100+hx,y*20-110+i+hy)
                turtle.circle(7-i)
            }
        }
    }
}