/donatello

Browser-based 3D turtle graphics plotter and L-system interpreter using Three.js.

Primary LanguageJavaScript

donatello

flowers

Usage

Try it here!

To use the program locally, simply clone or download the repository, then open index.html in a web browser. When running locally, you may have problems loading examples from examples.json. See How to run things locally.

Supported Commands

F, G     move forward, drawing a line
f        move forward without drawing a line
+        turn left
-        turn right
[        push the current state onto a pushdown stack
]        pop a state from the stack
&        pitch down
^        pitch up
\        roll left
/        roll right
|        turn around
L        generate a leaf
P        generate a flower petal
K        draw a cube

References