Any player of Flappy Bird will tell you one of its most endearing features is the way the bird nods up and down as it flaps, and then nose-dives when it falls.
You might think it would be hard to get such complex motion, but a bit of thought and analysis shows it's pretty easy.
We're going to make a function called make_bird_tilt_appropriately that gets called from our main frame renderer.