Tutorial: General Paired Dissection Coloring

Text and Images © 2004 Kerry Mitchell

Introduction

This routine is an extension of my Similar Paired Dissection (SPD) coloring. That one allows you to dissect squares and isosceles right triangles into more squares and isosceles right triangles. Here, there's no such restrictions on the shapes, so you can dissect general quadrilaterals and triangles into other general quadrilaterals and triangles. Being more general, it will do everything the SPD will do. Being more powerful, it comes with a slightly steeper learning curve.

Background

Mathematically speaking, a dissection is when a shape is broken into smaller pieces, in such a way that there are no overlaps and no gaps. There are infinitely many ways in which quadrilaterals (polygons with four sides) and triangles can be dissected into smaller copies of either or both. A few examples are shown in Figure 1.

Examples of dissections
Examples of dissections
Figure 1: Examples of Dissections

Each shape can broken into small versions of both shapes. Then, each of those shapes can be further dissected, and so on, leading to a fractal tessellation. That’s what this formula does.

There are four types of dissections that can be created, depending on with which shape you start and how you want to dissect it: triangle to triangle, triangle to both, quadrilateral to quadrilateral, and quadrilaeral to both. In any case, you need a starting point, which is the axiom. That can be either a triangle or a quadrilateral. Then, you need one or two generators (two for either “to both” dissection type). A generator defines how the shapes are dissected into smaller shapes.

Perhaps the best way to use this coloring is to first design your dissection on a piece of graph paper. For an example, let’s look at a variation of the first image in Figure 1. We begin with a square (the quadrilatera axiom) that is divided into four quadrilaterals. Instead of having the middle dividing lines be vertical and horizontal, let's make them at angles, shown in Figure 2. We need to be able to specify the corner points of the sub-shapes, but none of them are squares, so we can't use the coordinates of the corners like in the Similar Paired Dissection coloring. Instead, a list of key points is created, and the sub-shape corners are taken from points on that list.

Generator Key Points
Figure 2: Generator Key Points

There can be up to 20 key points for both the triangle and quadrilateral generators, plus a special point. The first three or four are the triangle or quadrilateral (respectively) axiom's corner points. From these, you can specify the others. Each subsequent key point is on a line between two previous points. For example, in Figure 2, the points labeled 1 - 4 are the four axiom corner points. Point 5 is on the line from point 1 to point 5, 10% of the way along. Point 6 is 20% of the way from point 2 to point 3; point 7 is 40% of the way from point 3 to point 4, and point 8 is 30% of the way from point 4 to point 1. By specifying the key points in this way, they can consistently be determined when the quadrilaterals change shape in later iterations. In the center of the figure is a point labeled, "0." Point 0 is always available, and is the average of the three or four corner points.

Now that the list key points havs been created, the sub-shapes can be defined by list the key points that make up their corners. For example, the upper-left sub-shape in Figure 2 has key points 0, 7, 4, and 8 as its corners. Another important consideration is the ordering of the sub-shape corner points. They need to be entered in a particular order, (although the order of the sub-shapes for each generator is irrelevant). that being counter-clockwise. This keeps all the sub-shapes from having sides that cross and from turning inside-out. The point is chosen to be the first point may matter greatly to the final image. Consider the example of Figure 2:

Various Layouts of the same Dissection
Figure 3: Various Layouts of the same Dissection

In each case, the original square is broken down into four non-symmetric quadrilaterals. The red dots indicate the location of the first corner of the axiom, and the black dots mark the first corner of the sub-shapes. In the first case, each of the sub-shapes has its first corner in the corresponding corner of the axiom. In the second case, the first corner is in the middle. In the third and fourth cases, it's the axiom's first corner that has changed; the sub-shape corners are the same as in the first two cases. The effects of the layout changes are shown in Figure 4. Each panel is the fourth iteration of the corresponding generator shown in Figure 3.

Fourth Iteration of Various Quadrilateral Dissections
Figure 4: Fourth Iteration of Various Quadrilateral Dissections

It pays to map your design out before entering the parameters, and it also pays to be flexible and try rotating the corner points around to see what happens.

Parameters

To keep track of all the corner points and sub-shapes, this formula has many parameters. However, they are grouped for ease of use, and many parameters are not visible unless they are needed.

General parameters: Overall settings, independent of the specifics of the dissections.

Axiom parameters: Settings for the triangle and/or quadrilateral axioms, depending on the “dissection type” choice.

Generator parameters: Settings for the triangle and/or quadrilateral generators, depending on the “dissection type” choice.

Hints

You are, of course, free to use this coloring however you’d like. However, these hints may help your explorations be more productive.

Sample Image

Sample image
Final Image (click for parameters)
1 iteration
1 Iteration
Figure 5: Sample Image

This image dissects each triangle into four more. The axiom only occupies the lower left half of the image, so each layer is rotated 180 degrees to take up the other half.

Here’s how to make it.

Step 1: Start a new fractal, with these characteristics:

Your image might not look like much, but it should resemble the “Step 1” image in Figure 6.

step 1
Step 1
step 2
Step 2
Figure 6: Sample Image, Steps 1 and 2

Step 2: Create the basic dissections

Your image should look like “Step 2” in Figure 6.

Step 3: Expand.
Add nine more layers (Layer 2 through Layer 10). Set their general parameters and Rotation Angle (Location tab) like this:
Layer
# iterations
how much memory
line thickness
Rotation Angle
1
1
4
0.256
0
2
1
4
0.256
180
3
2
16
0.128
180
4
2
16
0.128
0
5
3
64
0.064
0
6
3
64
0.064
180
7
4
256
0.032
180
8
4
256
0.032
0
9
5
1024
0.016
0
10
5
1024
0.016
180

Step 4: Finish.
Add one more layer by duplicating Layer 10. Copy the Inside coloring (None) to the Outside tab and change the Outside Solid Color to white (255, 255, 255). When you've finished, your image should look like the "Final Image" in Figure 5. If not, review your steps, or just click on the Final Image to see the parameters.

I hope you have fun with this, and be sure to share your creations with the rest of us!

Back to Tutorials page
Up to my home page