// Global code will be evaluated once.
const turtle = new Turtle(-25, -40);
// The walk function will be called until it returns false.
function walk(i) {
turtle.forward(50);
turtle.right(360 / 6);
return i < 6;
}
Share this turtle
Direct link
Embed turtle
Export turtle as animated GIF
Duration:
s
Frames / second:
fps
Options:
Warning: depending on the total number of frames, the export can take several minutes!