Project Description
Background
Like many things in life, plants go through various stages of growth over time. They may start as a seed, germinate and send out their first stem, grow taller and start producing leaves, produce flowers / fruits / vegetables, etc.
Your Task
In this project, you are going to use CodeHS graphics to animate a few stages of plant growth. With a timer, you’ll be able to keep track of “time” passing and use that information to move through different parts of a plant’s development.
In the demo below (click to plant a seed), you can see three distinct stages:
- The seed is planted and changes size
- A stem starts to grow upward with random leaves
- A flower blooms.
If you’ve learned about arrays and objects, you’ll be able to create a super bloom, where multiple plants can grow with multiple user clicks.