Overview
Shape grammar generation treats geometric elements as symbols and applies rules that split, replace, or decorate them.
Generates geometry by repeatedly applying spatial rewrite rules to shapes.
Compact metadata for implementation and discovery.
Shape grammar generation treats geometric elements as symbols and applies rules that split, replace, or decorate them.
Quick facts
Runtime and memory behavior at a glance.
Best
O(output size)
Average
O(output size)
Worst
O(output size)
Space
O(output size)
shape -> transformed subshapesExpands one geometric element into a structured arrangement.
Show the generation state evolving from seed values to the final artifact.
Shape Grammar Generation should be used with the assumptions and tradeoffs of grammar-Based Generation in mind.
What each reference supports for this entry.
Procedural-generation reference for rule-based spatial grammars and constructive content generation.
Open sourceReference for shape grammar formalisms and recursive spatial rule generation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Both can generate structured spatial layouts.
Shape grammars specialize grammar rules for spatial structures.