Works the same as the apple project except for, in theory, smoother deacceleration. And the apple is a cat because I was too lazy to import the sprite again. Hold SPACE to increase velocity, the cat will move at [velocity] steps, and should still move while deaccelerating until it slows to a stop.
Should I credit myself for providing my own framework? MLA formatting says that I'm technically plagiarizing my own work if I don't, so, uh, credit to @krymat Oh yeah, you're free to use this for whatever. I don't mind. My code is open source. This one is uncommented though, check the sister project for my code comments.