This section is about CGA Features and covers typical constructs, CGA syntax and handy features. CGA Operations are covered in Shape operations overview.
Pass multiple strings, numbers or boolean values from a rule to its successors. | |
Call different successor rules based on conditions. | |
Call different successor rules at random. The likelihood of each successor can be controlled by percentages. | |
Global variables used to store values in multiple rules. They can be modified in the rule file or the Inspector. | |
A style is a specific combination of values for a set of attributes. You can switch between styles in the Inspector. | |
Encapsulate code so that it can be used by multiple rules. Helps to avoid duplicated code. | |
Import rule files to get access to all of its rules, functions, and attributes. | |
Make your code easier to understand for your peer programmers (or yourself in the future). |