SL viewer hack: the knob

Sl-UsbMatt Biddulph has posted a nifty hack for Second Life: using alternate hardware to control stuff in-game.

On the left you’ll see an Arduino reading analogue values from a potentiometer and feeding the results in via the USB-serial interface to my Mac. On the right, you’ll see a modified version of Second Life that is feeding those values in via my avatar’s chat channel. An object in the Second Life world is reacting, with perhaps a half-second lag.

Video and source code are available.

While we’ve already seen some nifty hardware crossovers (such as the Wii-to-SL-via-IRC bridge or just using the wiimote directly, SL running on Solaris, etc.), this hack goes beyond simple chat or controlling your avatar, and actually manipulates stuff in the game.

It’s less than a week since Linden Labs released the source code to the Second Life viewer, and we’re already seeing the first inventions from the SL community. I for one am looking forward to an OpenEEG tie-in hack for the full-on Matrix experience. I can’t wait to see Neo vs. the Lawnmower Man in a Second Life celebrity death match…


www.flickr.com
This is a Flickr badge showing public photos from hackerfriendly. Make your own badge here.