A while back Paul Lamere wrote a compelling music visualization experiment called SnappRadio. From the SnappRadio website:
“The Sun Labs Snapp Radio is a mashup of Radio Paradise, last.fm and Flickr. When you listen to music from Radio Paradise or last.fm, Snapp Radio will collect images from Flickr that are related to the music you are listening to and display them as a slide show.”
In my persistent and unrelenting exploration of JavaFX (and with Paul’s permission), I offer up my latest effort: SnappRadioFX — a JavaFX front-end to SnappRadio.
The original version served up images in the browser, which is great for sure. But in the spirit of RIAs, I’ve attempted to pull this application “out of the browser” and create a version using JavaFX replete with animations and sparkly effects. This version only supports listening to Radio Paradise, so if you want the full effect, bring it up before you launch the application (via Java Web Start). Note that it’s a bit of a download and it may report that it’s stalled out, but be steadfast — it will complete.
So here’s a screenshot with a few images:
Images come to the foreground as they enter, and then fill in to the left or right as old images fade into the background.
This version of the application supports the idea of “inspecting” an image. By clicking on an image, it will travel to the foreground and pause the image collector in the background.
From here, if you “mouse over” the image, a mock UI will spin into view, with each “button” corresponding to an action. A “glow” effect is applied to the currently selected action. The UI will “spin away” when your mouse leaves the image. You can dismiss an inspected foreground image by clicking it.
I say “mock UI” since none of the buttons do anything at the moment.
So some fun stuff we have here I think. I’ll post the relevant source code later, but in the meantime here’s a quick look at some of the JavaFX tech involved:
Here are some limitations I’ve found while working on this:
Anyway, I think this is a fun little app. Many thanks to Paul for his permission to use the snappradio codebase to create this.
Tags: JavaFX
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Dec | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Looks great Sten – can’t wait to see the code. I did notice the performance issues, the animations would stutter more often than not. Also, the updating seemed to stop working for me after the first song. The song title would change when, but the images would no longer update.
This is pretty impressive considering the lack of 3D and the Zorder issues. I hope you do a few more interations on this once the JavaFx platform stabilizes.
[...] Friends « More Fun with JavaFX: SnappRadio FX [...]