Fractal tree blowing in the wind

edited June 2015 in Share Your Work

The mathematically perfect fractal tree, is being bend by the wind.

You can control the angle the wind is comming from, with the left/right arrow keys, and increase/decrease the strength with the up/down arrow keys, press space to hide/unhide wind speed and direction indicator.

Assumptions made:

  1. The wind is 100% consistant, (always comming from the same angle, with the same force).

  2. Gravity doesn't effect the tree (or rather the effect can't be seen).

  3. Shorter branches, are always thinner than longer branches, and therefor easier bend by the wind.

  4. The effect of the 3. assumption, is so great, that the lever principle can be ignored.

  5. The branches of the tree can be bend, without ever breaking.

  6. When not effected by the wind, a branch will move back to its starting position .

  7. The wind can come from all directions.

Download code at Githup https://github.com/nikolajRoager/windyTree.git

windy

Sign In or Register to comment.