3D Saguaro Generator

Developed by Ekaterina Spriggs
Computer vision group @ UA
Integration of Science and Computation Summer Camp 2008
Questions or comments: taralove @ u.arizona.edu.


You can hit enter while in any of the fields to submit form
Recursion level This is the number of steps to use to grow the saguaro; Start with a small number (60, because saguaros grow slowly), then increase.
Random Seed Change this to any number less than 4 294 967 295 to get a different saguaro from the same type;
Example: 120 or 18723, etc

Trunk options

Trunk piece length
Gaussian mean:Gaussian variance:Piece radius:
How long each piece is, and what is the radius.
Trunk pieces angle
Gaussian mean:Gaussian variance:
Angle between trunk pieces, rotation about x axis
Trunk pieces angle
Gaussian mean:Gaussian variance:
Angle between trunk pieces, rotation about z axis

Branch options

Branch piece length
Gaussian mean:Gaussian variance:Piece radius
Length and radius of each of the branch pieces.
Branch angle about the y-axis
Uniform min:Uniform max:
Create a branch anywhere on the trunk piece.
Branches at one height
Gaussian mean:Gaussian variance:
Create several branches more or less at the same height. The parameter is the number of branches.
Branch when old enough
Branch age threshold:
The branch will be there, but start growing it when the trunk piece is of age.
Number of branch pieces
Gaussian mean:Gaussian variance:
This will create several branch pieces which will become horizontal with time. The parameter is the number of branch cells, i.e., how long the branch is.

ADVANCED Trunk options

Initial Trunk Length
Gaussian mean:Gaussian variance:
Number of trunk pieces before we can create a branch.
Trunk pieces that can branch
Gaussian mean:Gaussian variance:
How many trunk pieces to grow that have the capability of creating a branch.
Trunk pieces that can't have branches
Gaussian mean:Gaussian variance:
How many pieces to grow after the branch-capable pieces
Trunk structures
Branch:Grow trunk:Wait:
Trunk, branch, or wait (and then repeat)

ADVANCED Branch options

Grow the horizontal branch, or skip turn
Grow horiz branch:Don't grow:
Even though we are about to create another horizontal branch piece, something can happen that will prevent the piece from growing (skip turn). This will decrease the length of the branch.
Branch angle
Gaussian mean:Gaussian variance:Change by:
Change limit:
The new branch starts out growing almost upwards, but with time it becomes horizontal. This is the initial angle the branch makes with the trunk, and it changes with time by the specified amount to become bigger, until it reaches the specified limit.
Curve branch upwards
Gaussian mean:Gaussian variance:Change by:
Change limit:
To make the branch curve upwards, each new branch piece needs to bend a little bit (mean), until it reaches the specified angle limit.