![]() |
|
|
Fractal Trees with Robo-Artby Emily (age 12), Kaylee (age 14) and Mike (age 46)Our project is about fractal trees. A fractal is a pattern that repeats itself at different scales. As you zoom in on a fractal pattern you can observe that each fragment of the pattern is a mimic of the pattern at large. This is why fractals are often called "self-similar". Many things in real life can be modeled as fractal-like. A "fractal tree" is a type of fractal pattern that results in a realistic looking tree.
The simulation we created produces fractal trees using "robotic art". Imagine how difficult and tedious it would be for an artist to draw a realistic looking tree. The artist would start off by drawing the trunk, then the main branches, the smaller branches, the even smaller branches, twigs, and finally the leaves. This complex process can be transformed into a very simple one by taking a completely different perspective - one from the bottom-up as opposed to the top-down approach that an artist would take. Our simulation breaks the process of drawing a tree into individual branches or segments, and employs thousands of individual "robo-artists" to help draw each segment. The simulation starts out with one Bot at the base of the Screen display from where the tree will start to grow. The Bot will draw its segment of the tree and then clone two new Bots, each of them will draw their part and clone two new Bots, and so on. Each Bot follows a set of very simple instructions:
When two new Bots are cloned, one points to the left of its parent's heading, and one to the right, before drawing their own segments. This behavior gives the tree its branching pattern. Because the Bots inherit only a fraction of their parent's speed, the segments get smaller and smaller as the tree grows larger. The parameters that give a tree its distinctive appearance are the first Bot's speed, the fraction to decrease speed between generations, and the angle to deviate from the parent's direction. To make more realistic trees, an element of randomness can be introduced to vary each of these parameters by a certain amount. The fractal trees shown above were made with our VisualBots simulation by varying the tree parameters mentioned above and adding an element of randomness to the deviation angles. The tree's graphics are made up of the Bot trails that are drawn before each dies. Additionally, we varied the branch (Pen) thickness and color between generations to give the simulation more realism. We even added a blossoming special effect (see upper right tree image) by turning the last generation of Bots visible and coloring them white.
Below is a snapshot of the Fractal Tree simulation control panel in Excel. We added buttons for changing the characteristics of the simulated trees. This was a fun project and we learned alot about fractals. We also learned that sometimes tasks seem much simpler when viewed from the "bottom-up" - from the perspective of the individual pieces that make up the whole.
Back to projects main page << prev project next project >>
|
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
| Copyright © | This sited last updated Jan 05, 2008 | |||||||||||||||||||||||||||