City Skyline
Build a city along the bottom of the page. Each building is a box, a loop draws the whole row, and a variable gives every building a different height. Then decorate it: windows, a sun, a moon, whatever your city needs.
π Ideas to take it further
- Use forward random 40 140 so the skyline is different every time.
- Add windows with dot 8 inside a small loop.
- Use if h > 100 [ colour blue ] so the tall towers stand out.
- Put a yellow moon in the sky with fill on and circle 30.
- Draw a second row of smaller buildings behind the first.
Your program