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

31 lines
354 B
JSON

{
"name": "hilbert",
"alphabet": "ABF+-",
"axiom": "A",
"rules": [
[
"A",
"-BF+AFA+FB-"
],
[
"B",
"+AF-BFB-FA+"
]
],
"angle": 90.0,
"distance": 10.0,
"representation": [
[
"F",
"Forward"
],
[
"+",
"TurnRight"
],
[
"-",
"TurnLeft"
]
]
}