Publisher review:Fractal tree script could be used to compute and display a 2D fractal tree. This script could be used to compute and display a 2D fractal tree. A fractal tree is constructed iteratively by growing new branches, which have a specific length ratio with respect to the parent branch (scaling factor). The fan angle, the number of new branches and number of generations are user controlled. The number of branches grows exponentially. Use ngen~10 for best results. The displayed tree exhibits self-similarity, i.e. the same patterns at different scales. The code uses a dictionary to store the node coordinates as complex numbers and Tkinter for graphics. It is a good example of how Python's powerful data structures, combined with a vast body of modules can be used to write concise and user friendly code. The code was tested with Python 2.3 and 2.4.
Fractal tree 1.3 is a Python script for Mathematics scripts design by Alexander Pletzer.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Fractal tree script could be used to compute and display a 2D fractal tree.
Operating system:Windows / Linux / Mac OS / BSD / Solaris