no ninja
Log in to post a comment.
// Global code will be evaluated once. const turtle = new Turtle(-60,20); // The walk function will be called until it returns false. function walk(i) { turtle.penup(); // shield turtle.pendown(); turtle.left(90); turtle.circle(50, 180); //head turtle.penup(); turtle.right(170); turtle.forward(18); turtle.pendown(); turtle.right(30); turtle.circle(15, 298); turtle.left(138); turtle.forward(3); // feet turtle.right(90); turtle.forward(100); turtle.penup(); turtle.backward(80); turtle.pendown(); turtle.left(90); turtle.circle(10, 180); turtle.right(90); turtle.penup(); turtle.backward(20); turtle.pendown(); turtle.left(270); turtle.circle(10, 180); turtle.right(270); return false; }