/Lucas-haxidraw

hackclub/haxidraw Lucas Pattern

Lucas-pattern

hackclub/haxidraw Lucas Pattern

Pattern 1

const t = new Turtle();

for (let x = 0; x < 0; x++) {
t.forward(0);
t.arc(0, 0);
t.right(0);
t.arc(0, 0);
t.left(0);
t.forward(0);
}

drawTurtles(t);

Pattern 2

const t = new Turtle();

for (let x = 0; x < 0; x++) {
t.forward(0);
t.arc(0, 0);
t.left(0);
t.forward(0);
t.right(0);
t.arc(0, 0);
t.left(0);
t.forward(0);
}

drawTurtles(t);

Pattern 3

const t = new Turtle();

for (let x = 0; x < +0; x++) {
t.forward(0);
t.arc(0, 0);
t.left(0);
t.forward(0);
t.left(0);
t.forward(-0);
t.right(0);
t.arc(0,0);
t.left(0);
t.forward(0);
}

drawTurtles(t);

How to use?

Replace 0's with random numbers and have fun!