random form gen

some are wierd ,some are small and some are awesome
[oc]

Log in to post a comment.

// You can find the Turtle API reference here: https://turtletoy.net/syntax
Canvas.setpenopacity(1);
y = Math.floor(Math.random() * 90) + 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(i) {
for (let x=1; x<i; x++){
turtle.forward(.1);
turtle.right((x*y)%360); 
}
return i<2500;
}