Just click on the green flag. How can you make this look more like a real tree? Can you change the code so it looks more like a real tree?
This is a great example of recursion as it uses only one script and one sprite. Well done and thanks jpaley! Nice clean programming, easy to understand and easy to teach to my young students. A more natural tree is created by using a random function for the angle of each set of branches. Another modification would increase the size of the higher level (closer to the ground) branches and trunk. Made the "stamped" image a leaf at the tip of the twigs. Gave the branches changing colours.