I want to introduce you an open-source Turtle Graphics library for p5.js sketches.
This library is great for both education and creative coding.
Library supports two modes:
- Easy Mode / Default turtle mode . This is the default mode. In this mode users can work directly with the global TurtleGFX API such as: forward(), left(), right(), etc.
- Multiple turtles mode . In this mode users can create multiple turtles on the screen ( let turtle = createTurtle(); turtle.forward(); etc. );
Source code on GitHub:
Note: This library is built-in into codeguppy.com coding environment… but this time was also released as a standalone library for p5.js sketches.