Level-9: Fractal Tree Animation 🌳

3+ hours

Discover the beauty of fractals! You'll write a program that can draw a complex tree structure using a simple repeating rule called recursion.

Level-9: Fractal Tree Animation 🌳

Video Tutorial

Watch the Level-9: Fractal Tree Animation 🌳 tutorial video for a demonstration of this Scratch project.

Watch the video tutorial

Step-by-Step Instructions

1. The Branch Block

Create a custom 'My Block' called 'draw branch'. This block should draw a line and then call itself!

2. Recursion Logic

In your 'draw branch' block: draw a line, turn right, call 'draw branch' (with a smaller size), turn left, call 'draw branch', then turn back to center.

3. Stop Condition

Crucial! Add an 'if size < 5' block to stop the drawing, otherwise your program will run forever!