In this project you will add some simple animation to your MyPenguin project, like moving the penguin's wings, or bouncing the whole penguin around the screen. Or maybe you want to make a moving "background" behind the penguin.
- Find your MyPenguin code on github.
- Copy that code into a new processing sketch, and save that sketch with the name
HalftimePenguin. - Think of something to animate in your penguin sketch. This should be a "smart" animation, meaning it involves at least one "if" statement, to control the variable.
- Write the code to implement your idea.
- Repeat the previous two steps, to create a second animation.
- When you're done: fork this repo, paste your code into the
.pdefile, and create a pull request.
Also implement at least one of these:
- make the eyes on your penguin blink (think about variables, if blocks, and 60 frames per second)
- in addition to the animations above, make your whole penguin move around the window and bounce when it hits an edge