Now that the Wordpress Theme Directory is up and running again I figured I would release the theme I’ve been using for this site.
As with the original Photon, the theme is designed to be lightweight and legible. The fixed width content column floats centered, and the sidebar hides itself when the page width is too small.
The theme includes support for a custom widget sidebar and the new wordpress caption feature.
I’ve ironed out all the bugs I could identify, but there are likely more. Please let me know if you find any.
As always, feedback is greatly appreciated.
Download at http://wordpress.org/extend/themes/photon.
More games with red gloves and a webcam.
As always, it’s dead simple: regions of the image are cut off at a specified threshold and the contours are identified. A very small (and rather poorly implemented) physics engine then bounces the ball off the identified contours. It’s surprisingly fun to play with.
Collision detection algorithm cribbed from http://blitzbasic.com/codearcs/codearcs.php?code=998, and the angle of reflection calculation was accomplished with a little help from http://www.gamedev.net/community/forums/topic.asp?topic_id=61069.
Since I’m feeling organized, the code is already available here
Enjoy!
All content in public domain unless otherwise specified. Powered by prgmr, FreeDNS, Wordpress and vim.