23.02.2014 Views

Shape

Shape

Shape

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

245 Spatial Relations and Rules<br />

Modifying rules according to the symmetry of the shapes they contain is a useful<br />

ploy. More generally, though, I can vary the properties of the shapes in rules with<br />

basic elements, labels, weights, and so on, to get the outcomes I like. It’s a lot like<br />

composing—there’s symmetry, scale, balance, rhythm, color, etc. I’m still surprised at<br />

all the things rules do as they apply—with transformations, parts, and adding and subtracting<br />

in two easy formulas. That’s all it takes to see and do—just calculating with<br />

shapes and rules.<br />

Spatial Relations and Rules<br />

There’s more to calculating with shapes than symmetrical patterns and fractals or combining<br />

shapes and their boundaries. In fact, there are more generic schemas to define<br />

rules that include the previous ones with transformations and the boundary operator.<br />

And these new schemas are pedagogically effective—they make adding and subtracting<br />

explicit in rules before they’re applied.<br />

For any two shapes A and B, I can define addition rules in terms of the schema<br />

x fi A þ B<br />

and subtraction rules in terms of its inverse<br />

A þ B fi x<br />

where the variable x has either A or B as its value. (Evidently, addition rules—and likewise<br />

subtraction rules—are the same whenever the rules A fi B and B fi A are.) The<br />

shapes A and B define a spatial relation that determines how to combine shapes. They<br />

show how conjugate parts are arranged after I add one, or if I want to take one away<br />

and leave the other. But there’s a caveat. A spatial relation is an equivalence relation<br />

for decompositions—two are the same when one is a transformation of the other.<br />

This is a nice way to describe how shapes go together to define rules in schemas. In<br />

fact, it provides a general model of calculating that includes Turing machines. Still,<br />

the spatial relation isn’t preserved in the rules it defines. Descriptions have no lasting<br />

value, only heuristic appeal. They’re something to use that helps to get started. Then<br />

you’re on your own—you’re free to see anything you choose. There’s a lot more to<br />

shapes once they fuse than there is when they’re kept apart in spatial relations. (That’s<br />

calculating with sets in set grammars, not with shapes in shape grammars.)<br />

Let’s see how my twin schemas work. The shape<br />

gives some good examples when it’s divided into two squares to define a spatial relation.<br />

This keeps to the schema x fi x þ tðxÞ and its inverse, but nothing is lost in the<br />

simplification. There are still four distinct rules—two for addition

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!