Add example L-systems as JSON files
This commit is contained in:
parent
55e0f0d82c
commit
3c5ef50b13
11 changed files with 397 additions and 0 deletions
27
examples/koch.json
Normal file
27
examples/koch.json
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"name": "koch",
|
||||
"alphabet": "F+-",
|
||||
"axiom": "F",
|
||||
"rules": [
|
||||
[
|
||||
"F",
|
||||
"F+F-F-F+F"
|
||||
]
|
||||
],
|
||||
"angle": 90.0,
|
||||
"distance": 10.0,
|
||||
"representation": [
|
||||
[
|
||||
"F",
|
||||
"Forward"
|
||||
],
|
||||
[
|
||||
"+",
|
||||
"TurnRight"
|
||||
],
|
||||
[
|
||||
"-",
|
||||
"TurnLeft"
|
||||
]
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue