Construction
Setting Up
- Open up a new sketch.
- Choose new script from the File menu. Click on the script's Record button.
- In the new sketch set up points A, B, and C, connected by segments num and
den as shown below. Next, place two more points (root and fork).
- Select segments num and den. Choose Mark Ratio from the Transform menu.
This ratio will define how much the branches of the tree shrink or grow from
one generation to the next.
Scripting One Generation
- Construct a segment from point root to to point fork.
- Select point fork and choose Mark Center from the Transform menu.
- Select point root and choose Dilate from the Transform menu. Make sure "By
Marked Ratio" is chosen before clicking on OK. This should give you point
root'.
- Rotate root' by 180° about fork resulting in point root''.
- Mark angle ABC (using the Mark Angle command in the Transform menu) and
rotate point root''. Then mark angle CBA and rotate point root'' again. This
should give you two images, each rotated in the opposite direction.
- Connect with point fork with each of the root'' images. Your sketch should
look like the one shown below.