Skip to content

Tree growth simulation with a fractal algorithm.

Notifications You must be signed in to change notification settings

llisaeva/Fractal-Tree

Repository files navigation

Fractal Tree

Grows 4 fractal trees, the number under each tree indicates the amount of splits (into 2 branches) in the tree. animated

How it Works

Logistic equation used to generate the tree growth:

On each split:

  • left branch: -25% length, rotates 30°
  • right branch: -33% length, rotates 50°

This was an exercise from the book Introduction to Programming with Java.

Tools Used

About

Tree growth simulation with a fractal algorithm.

Topics

Resources

Stars

Watchers

Forks

Languages