Drawing Fractal Trees - Part 1

Published 19 July 08 12:02 PM | Avi Pilosof 

Table Of Contents

 

A Brief Explanation of Fractals

In plain English, a fractal is a shape whose constituent parts are really just copies (scaled down) of the whole.  Here's a simple example, the Koch Curve:

Koch Curve

Take a look at the first part made up of 4 line segments. Make a copy of that whole part in your head, shrink it down, and rotate it so that it fits on top of one of the line segments. Notice how that looks like the beginnings of the second part? Keep going (forever), and that's your fractal: Any little bit of it is just a scaled down copy of the rest of it. You can zoom in infinitely and keep seeing the same pattern.

It's a very powerful concept that can generate stunning images when taken further.

But what really strikes me about fractals is that they're real; they're everywhere in the physical world. From lightning to river networks to broccoli to the layout of African villages! And also, to trees, which is where we come in.

 

Fractals in Trees

If you look at the "Y" shape created by a stylised tree branch, it's identical in concept to the branch that it spawned off, which is identical to its parent branch, etc, etc, until you reach the trunk - which forms the "axiom" of this fractal.

This series of posts will describe a Silverlight program based on this observation that allows users to generate random fractal plants by defining an axiom, a rule to iterate over, and a set of preferences that they can tweak.

 

Avi

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Silverlight news | Enetlive.net- Rich Internet Applications Blog said on July 22, 2008 12:11 AM:

PingBack from http://enetlive.net/?p=30

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About Avi Pilosof

I'm a dev living in Sydney, working for Redmond - the best of both worlds :) My team writes applications (mostly web) used internally within MS.

Search

This Blog

Syndication

Page view tracker