Tree
InputsOn this page, you will consider how changes to the input arguments for tree
impact the resulting drawing.
Each of these questions refer to this version of the tree
block and this script that calls it. Notice the circled blank level input slot in the tree
block in the calling script. Also, inside the tree
script, the turning angles and size scaling factors have been changed so that the left and right branches are the same, making the pictures of trees easier to understand.
tree
procedure?
move
block?level = 1
case, and will only ever make the left-branch call to itself.move
blocks?tree
so that it doesn't get stuck in an infinite loop even with a negative input for level?