chickadee » linden-scheme » define-l-system

(define-l-system CLASS (SUPER-CLASSES ...) (RULE [ARGS] ...))syntax

Defines the class of L-systems named CLASS. These L-systems will use rules defined for CLASS, and if none are available, they will inherit those from the classes SUPER-CLASSES. The rules defined for the super-classes are chosen in order of appearance in the super-classes list.

Additionally a function named CLASS is defined that, when called, returns an L-system of CLASS with the initial rule RULE.