Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 961 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 961 Bytes

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