— AlexiaKay

Under the Sea

For this week’s assignment I decided to create an animated representation of the ocean. I love snorkeling, so I wanted to represent the variety of colors and sizes that fish have in this week’s chapter of arrays. What was the hardest part of the assignment was figuring out how to make the fish reach the width and come back. I used translate to change the position of the x and y coordinates and push and pop to achieve this. I am thinking of developing this into a game in the future. Maybe I could bring out a shark where the user’s goal will be to avoid the shark by moving the fish around.

Submit comment