fractree.m

Draw fractal trees generated from a given angle, distance factor and 'number of branches'.
3.9K Downloads
Updated 4 Mar 1998

No License

Script to draw fractal trees generated from a given angle, distance factor and 'number of branches'.

'number of branches' - indicates how many child branches are born from each parent branch.

'angle' - determines how far each child branch leans away from its parent branch.

'distance factor' - specifies how much smaller child branches are compared to their parents.

Random trees can be generated by entering zero angle and/or distance factor and then inputting an integer seed value.

Cite As

Stephen Battey (2024). fractree.m (https://www.mathworks.com/matlabcentral/fileexchange/294-fractree-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fractals in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0