Add second, more interesting, plant model
This commit is contained in:
parent
43f8c26d9e
commit
c8c6680a4e
1 changed files with 35 additions and 0 deletions
35
examples/plant2.json
Normal file
35
examples/plant2.json
Normal 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"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue