Skip to content

LucasHT22/Lucas-haxidraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 

Repository files navigation

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!

About

hackclub/haxidraw Lucas Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published