HOME



life
full-heartfull-heartfull-heartfull-heartfull-heartfull-heartfull-heartfull-heartfull-heart
full-heartfull-heartfull-heartfull-heartempty-heartempty-heartempty-heartempty-heartempty-heart

My Accounts:

delicious Digg! twitter email lastFM

Settings:






























Random

I make things in javascript, no real reason. Most of these you might not want to click in IE.

Sprite Class

I wrote a class in javascript that animates a two dimensional, multiple state sprite with movement and hit detection.

The first test case is a bunch of little flying thingers, I don't know what they are, that change direction and exchange color when they hit one another, and the pointy headed one moves to where you click.

The second test case is Ryu, pretty straight forward, arrows keys to move, a,s,d to punch, z,x,c to kick. There is a directional key buffer to trigger special moves, but none are animated. The display shows the state arrays and the input box controls the animator timeout.

JSON/AJAX Traffic Log

I use google analytics to track statistics on this site, but I wanted raw hit information sent to my personal server, so I wrote this little number to visualize the database.

JQuery

I want to mention that I recently starting programming using JQuery and I absolutely love it. It makes javascript fun again. I especially like being able to use CSS3 selectors to address elements in the DOM and how it manages event handlers with .unbind() and .bind(). Now I see why people say they don't understand why people still do these things manually.

















< Known Fact - cool people wear dark glasses