ScratchData LogoScratchData
Back to RossPolson's profile

Fractal Cat Tree random angles sized branches

RORossPolson•Created August 2, 2013
Fractal Cat Tree random angles sized branches
4
2
306 views
View on Scratch

Instructions

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?

Description

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.

Project Details

Project ID11689316
CreatedAugust 2, 2013
Last ModifiedAugust 27, 2020
SharedAugust 2, 2013
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root