The first pass at analyzing the International City.cga code file begins with an overall outline, which includes
- other CGA files that are imported, and whose attributes are made available in this main file
- control attribute groups that are programmed to appear in the shape inspector (so you can adjust variables)
- the CGA rule “tree” hierarchy
Two things became quickly apparent to me. First, there is certainly a logical structure in the 15-pages of code that spewed out of my printer and second, the tutorials I have completed to date did an excellent job of preparing me to understand what is going on. The diagram is not meant to be exact and certain parts of the hierarchy may appear in different places. Note the recursive nature of the code and how the same basic strategies are used to create different land use mixes.
I will use this outline as I structure my analysis and interpret code blocks in future installments.