Andrew I-kang Li   李以康


About shape grammars

  gray line

Home

About me

About shape grammars

Publications

gray line

The interpreter project

Set up

Create a grammar

Run a grammar

gray line

The Yingzao fashi project

gray line

What are shape grammars? Here is an example. Suppose you have this design:

▲ △ ▲

and you modify it to produce this design:

▲ ▲ ▲

We can describe the transformation verbally, like this:

Fill in the hollow triangle.

We can also describe it graphically, like this:

△ → ▲

The transformation is graphic, but only in the second case is the description also graphic. The “graphicness” of this second description is congenial to designers, who would usually rather look and draw than read and type (coordinates, for example).

Now, think of creating a design as a series of such transformations: starting from a blank sheet of paper; adding, subtracting, and changing marks on the paper until the design is complete. We can describe all these transformations graphically. A set of these transformations (which we call rules) is a shape grammar, and a shape grammar defines shapes (which we also call designs).

Suppose for example that you have a grammar consisting of these two rules:

△ → △ △ (draw a hollow triangle next to a hollow triangle)

△ → ▲ (fill in a hollow triangle)

If you begin with △ as your initial shape, you can generate designs like these:

△ △ △ △

△ ▲ △

▲ ▲ ▲

To generate these designs, start with the initial shape △, and transform it repeatedly by applying one of the rules. The ⇒ shows where you do this.

△ ⇒ △ △ ⇒ △ △ △ ⇒ △ △ △ △

△ ⇒ △ △ ⇒ △ △ △ ⇒ △ ▲ △

△ ⇒ △ △ ⇒ △ △ △ ⇒ ▲ △ △ ⇒ ▲ ▲ △ ⇒ ▲ ▲ ▲

These examples are on the simple side, but you should get the idea. There is much more to say about shape grammars; the sources below are good places to start.


References

Knight, Terry W. 1994. Transformations in design: a formal approach to stylistic change and innovation in the visual arts. Cambridge, England: Cambridge University Press.

Knight, Terry W. 2000. Shape grammars in education and practice: history and prospects. 1999–2000 [cited 2014]. Available here.

Stiny, George. 1980. Introduction to shape and shape grammars. Environment and planning B 7: 343–351.

Stiny, George. 2006. Shape. Cambridge, Mass.: MIT Press. Available here.

gray line
Contact me

i (at) andrew (dot) li

gray line