lsystems/examples/plant.json
2018-01-17 22:18:47 +00:00

39 lines
421 B
JSON

{
"name": "plant",
"alphabet": "FX+-[]",
"axiom": "X",
"rules": [
[
"X",
"F[-X][X]F[-X]+FX"
],
[
"F",
"FF"
]
],
"angle": 25.0,
"distance": 1.0,
"representation": [
[
"F",
"Forward"
],
[
"+",
"TurnRight"
],
[
"-",
"TurnLeft"
],
[
"[",
"Push"
],
[
"]",
"Pop"
]
]
}