turtleArt | Fractal tree using recursion

turtleArt | Fractal tree using recursion
0

Fractal Tree

treeGif

Here is an example of a tree generated recursively by increasing the angle between the left and right branches from 10 degrees to 110 degrees.

2
The tree doesn’t look real, isn’t it? Is there a way to generate more realistic graphics of tree using turtle programming? Tweaking which parameters will lead to a more realistic appearance?

Have a look at the references below and try sketching your own tree and share the images in the thread below. Which parameters did you tweak to make it look more realistic?

Reference:

https://runestone.academy/runestone/books/published/pythonds/Recursion/pythondsintro-VisualizingRecursion.html

8 Likes