nodebox / seed

Procedural Content Generator
https://seed.emrg.be/
MIT License
22 stars 8 forks source link

Configurable recursion depth #7

Closed fdb closed 6 years ago

fdb commented 6 years ago

Allow the user to configure the depth of the recursion. Currently this value is hard-coded. This would allow users to make more complex recursive structures like trees or fractals.

Example of the syntax:

% depth: 100

root:
- <svg ... />

This depends on #4 (preamble syntax).

stebanos commented 6 years ago

Added in f242ae8