The Code Kitchen

In The Beginning There Was: Pong

Requires Mac OS X 10.5 (Leopard) and Apple Safari. Yeah.

Download Source

Hard-coding the velocities and limiting the animation rate to 30 frames per second has not worked all that well (not surprising, locking the logic rate to the rendering frame rate is always asking for trouble). You can see how the speed of the ball and paddles isn't consistent. So fixed rate logic is out. Delta-based animation is in for the next project.

Comments? Feedback? Drop me a line.

My name is Brian Palmer. I'm a software developer at Mozy. Sometimes I post on this site. Other times I post on Facebook instead. Sometimes elsewhere. I have a Twitter account, but I've never tweeted. And yet I have 9 followers?


I live in Salt Lake City, which is a really cool town. Plus, mountains! I'm terrible at introductions, so if you have questions or feedback just drop me an email.


Oh, about the name: I write software and I love food. That's all it means.

Lorem Cookies

cookiesLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.