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

43 lines
451 B
JSON

{
"name": "tree",
"alphabet": "AB+-[]",
"axiom": "A",
"rules": [
[
"B",
"BB"
],
[
"A",
"B[+A]-A"
]
],
"angle": 45.0,
"distance": 1.0,
"representation": [
[
"A",
"Forward"
],
[
"B",
"Forward"
],
[
"+",
"TurnRight"
],
[
"-",
"TurnLeft"
],
[
"[",
"Push"
],
[
"]",
"Pop"
]
]
}