Last fall I was contacted by Heiko Hansen (of HeHe) regarding using the EasyLase USB on the Mac. I must say I was quite intrigued when I found out that he was working on Nuage Vert, a visualization of energy usage in Helsinki. The project uses the cloud of emissions from the Salmisaari power plant as a canvas to demonstrate how much energy is in use by the city.
photo credit HeHe
The project is going on display February 22-29, 2009 in Helsinki. I encourage you to go check it out more in depth at www.nuagevert.org.
For the project, I ended up creating a Java wrapper for the libEasyLase driver for OS X. It is now possible to get laser output on the EasyLase USB from inside a Java app on the Mac. Please contact me if you're interested using this.
I've finally put together an installer for the EasyLase USB driver for Mac OS X. I am making the driver available for download today, after more than a year of use internally with the LaserLine project as well as the Laser MacMAME and iTunes visualizer projects.
The build is Universal and has been tested on PPC and x86. The installer includes libftd2xx, a necessary library from FTDI. It is working well with libftd2xx version 0.1.3; Version 0.1.0 is the current released version, and I expect FTDI to update this soon.
Please let me know if you're using this driver to access an EasyLase USB on the Mac, I am happy to help with usage and development of laser software on Mac OS X.
Download EasyLase USB Driver v1.0 (Universal) for Mac OS X:
So, when I came home from WWDC this summer, excited about all the new technologies, I quickly got started on a Quick Look Plug-in for ILDA files. I was super excited I quickly got it working, but I couldn't tell a soul due to that NDA thingy. : ( But Leopard is out now, so I can reveal it. It isn't very stable now, mostly due to an out-of-date version of ILDAlib that it is using; but I've added it to the LaserLine source, so anybody with a free afternoon can debug it and add colors and things. The drawing code should be pretty much verbatim to that in ILDAInspector, but it needs error checking and stuff on loading the files. Further, the project should reference the shared code portion of the source tree, not it's own copy of ILDAlib.
Acclaim Lighting makes LED based lighting products. Some of their products include architectural lighting, high brightness fixtures utilizing Luxeon LEDs, and even lighting to cover a whole floor or wall. It all is controlled by DMX-512. Well--almost; the interesting fixture here is the X-Panel Frame. This device consists of 12 5x5 RGB LED arrays, arranged in a matrix. Due to the number of channels, it needs more than 512 channels so it supports "DMX-1000K," a protocol I am completely unfamiliar with. Fortunately, if you limit yourself to 6 X-Panel modules, DMX-512 works just fine, and the display size is just a bit limited.
Now, of course I was unwilling to use the recommended software provided by Acclaim; it didn't run on my platform of choice. Actually, I didn't even have a copy of the stuff. Nor could I find a USB DMX-512 interface. But I did have an idea.The power of Cocoa allowed me to whip up a little application for my Mac in about two evenings. It took about 2 more days to finish up all the features. But what exactly does it do? First I made the whole display blink, then added some chasing features, and did some automated fading. Simple stuff, but it was lots of fun. It made me want to do more; so I wrote a little function that would translate from normal cartesian coordinates+color to the DMX data, reflecting the physical orientation of the device. An NSImageView configured as an image well later, and I could drag & drop photos and have them displayed on the LEDs. The resolution was low, and my scaling unoptimized, but video was the most fulfilling.
But fancy Cocoa programming does me no good without a way to physically control the device. Fortunately I happened to have my EasyLase USB interface handy. I wired up a level converter with some MAX-485 chips, according to the wiring diagram included in the manual. I had recently finished testing the DMX-512 portion of the EasyLase USB Driver for OS X, but this was the first time I used it with a real device : ). (if you need a copy, let me know)
Please excuse the low quality of the video, I just kinda hacked it together. The screen capture and live video are slightly out of sync, and the CCD in my digital camera simply isn't able to handle the brightness of the LEDs.
The video clip at the end is complements of Charlie Deets. Please don't laugh at the poor software interface design; it was just a toy.
While I am not quite a mathematician, being a student of Computer Science, I have the opportunity to associate with those skilled in Mathematics. I took it upon myself to determine if I had a finite Erdős number. It turns out I do.
I have documented my findings below; the last three lines of the table were determined via MathSciNet, the first two by personal knowledge. I was pleased to find my number is so low and am proud to declare my finding.
|person||coauthored with||to write|
|5||Joey Hagedorn||Narayan Desai||Directing Change Using Bcfg2|
|4||Narayan Desai||Ewing L. Lusk||MPISH: A Parallel Shell for MPI Programs|
|3||Ewing L. Lusk||John Mackintosh Howie||Combinatorial results relating to products of idempotents in finite full transformation semigroups|
|2||John Mackintosh Howie||John L. Selfridge||A semigroup embedding problem and an arithmetical function|
|1||John L. Selfridge||Paul Erdős||Some problems on the prime factors of consecutive integers|
subscribe via RSS