Add second, more interesting, plant model

This commit is contained in:
Dimitri Lozeve 2018-02-02 16:18:13 +00:00
parent 43f8c26d9e
commit c8c6680a4e

35
examples/plant2.json Normal file
View file

@ -0,0 +1,35 @@
{
"name": "plant2",
"alphabet": "F+-[]",
"axiom": "F",
"rules": [
[
"F",
"FF-[-F+F+F]+[+F-F-F]"
]
],
"angle": 22.5,
"distance": 10.0,
"representation": [
[
"F",
"Forward"
],
[
"+",
"TurnRight"
],
[
"-",
"TurnLeft"
],
[
"[",
"Push"
],
[
"]",
"Pop"
]
]
}