git the konami code

git on a 3d cube background.

I’ve been using git for a few months now, and have found it faster and more enjoyable to deal with than svn. Sure, there’s the headache with remembering git revert is not like svn revert (use reset to go back to a point in time, revert to undo a commit—more like English, actually).

In addition to git, there’s github, a good place to host your public code repositories. I’m keeping an AS3 Konami Code project and my AS3 code library on github. You can clone them to your machine or fork them to create your own project on github.

Continue reading git the konami code

McRozinHodgin Dice Mirror

live dice webcam

Tonight, I decided to take another step in the short evolution of Robert’s fun dice-table images. Mario Klingemann raised the bar with his Aviary filter that transforms images into dice-images. In addition to all that awesomeness, you can now play with a real-time dice mirror in your web browser. Enjoy.

Interact: dice mirror
Source (.zip): dice mirror source

Flash is pretty weird when it comes to accessing your webcam. Even after you click “Allow,” your webcam might not turn on. Open the settings panel (right click -> Settings…), then click on the little orb/webcam icon, then select your real webcam from the dropdown. For some reason the iSight on my mac shows up as three different cameras, but it’s actually only accessible as the “USB Video Class Video.”

Random-Walking Cubes

Walking Cubes

I finally returned to a 3-d random walk sketch I set up in Flash a few months ago. Happily, Papervision3D now reliably initializes the graphics context and actually renders the cubes inside the flash player (I downloaded the latest Great White and patched my code over tonight).

The cubes bounce along on a random trajectory and fluctuate to the music. Michael Lengel, aka mlerin , provided the sweet audio tracks.

Interact with the walking cubes.

Smoke and Mirrors

Going back on my promise, I revisited my BitmapSmoke class and created something beyond cheesy. Move the mouse to position the heat/smoke source. Regardless, this one is all AS3 and was used primarily as a means to play around with displacement maps. The included Displacer class accepts a movie clip to displace and a map to displace it with, then updates the displacement every time you call run(). What's neat is that you can keep updating the map you passed in, thereby animating the displacement. Banners are looking better all the time.

Download source.