Midterm Part 1

My inspiration for the project was the background picture on my laptop which is the night sky. Originally, I wanted to create a solar system where the user can interact with it and add stars and constellations. I changed my mind after seeing a picture of a shooting star and decided to implement that idea. In my final sketch, I hope to have a house with a tree in the backyard where the user can create the stars in the sky by clicking their mouse and simulate a shooting star by hitting a key on their keyboard.

I have already created my House, Star, Tree, and Moon classes and I still need to finish the Moon and Star class and create the shooting star effect. Right now, the color of the roof, door, and house change randomly, but I may refine the colors or limit their changes. The color of the tree changes randomly to simulate the changing of the seasons. White represents winter, pale pink represents summer, green represents spring, and orange represents autumn. I have used the mousepressed function to allow the user to add stars in the sky, by next week I would like to have the stars rotate in the sky. I have created multiple classes and used if statements. To finish the project, I need to learn more about arrays and rotation.

 

https://www.openprocessing.org/sketch/512793