 |
Matrix screensaver for Swing apps - WebStart
Posted by kirillcool on June 28, 2006 at 12:03 PM | Comments (11)
So, a number of people have asked for a WebStart version for the Matrix screensaver, so here goes:

Wait for the application to load, hit Ctrl+Alt+M and enjoy the animation. Mouse click stops the screensaver and returns the control to the frame.
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
What a shame for a java site, JNLP mime type is not configured ;-)
Use this command on your favorite shell:
javaws http://weblogs.java.net/blog/kirillcool/archive/matrix/matrix.jnlp
Posted by: farnulfo on June 28, 2006 at 02:15 PM
-
The window with the widgets came up but hittin Ctrl+Alt+M on my Mac didn't do anything.
Posted by: joshy on June 28, 2006 at 02:26 PM
-
Joshua, did you hit the Ctrl+Alt+M when the focus was in the application window? I don't have any type of access to Mac environment, so it would be pretty hard (for me) to figure out this issue without the debugger environment.
Posted by: kirillcool on June 28, 2006 at 02:44 PM
-
Works great off the command line...
There's this jerk in the annimation every 15-20 seconds. Any thoughts why?
Posted by: dwalend on June 28, 2006 at 03:08 PM
-
About the animation jerk - at what stage of the animation? There's letters falling, the dissolving rain, the fading rain and the infinite radiating rain.
Posted by: kirillcool on June 28, 2006 at 03:17 PM
-
Very cool!! worked for me. Its a little slow on ibook g4. See my blog post here
Posted by: vineetb on June 28, 2006 at 03:24 PM
-
vineetb - glad to hear it works on g4 (guess that would answer Josh's question). About the performance - it doesn't use Java2D (see the original post and its comments), and performs some heavyweight stuff (like the phosphorescent clouds around each zoomed pixel that overlap and create a potential O(N^4) complexity). I may have some time in not too distant future to turn it into a more production-ready one. For now, this was just a simple revival of an old project and showcasing the strength of laf-widget project.
Posted by: kirillcool on June 28, 2006 at 04:04 PM
-
Just to compare some numbers from running the screensaver on my machine:
Created message glyphs in 93
Created glyphs in 1062
Katakana glyphs: 1422
English glyphs: 94
Starting animation ... (Wed Jun 28 16:07:56 PDT 2006)
Title manager init: 109
Title zoom manager init: 813
Edge detector: 203
Created bell rain manager in 421
BellRain first step over
BellRain second step over
BellRain wait over
BellRain disintegration over
Created letter rain manager in 124
While you have some of the numbers an order of magnitude larger (based on your screenshot). I'm running this on a 2.0GHz Pentium. How does ibook g4 compare to Pentiums on regular heavy math algorithms?
Posted by: kirillcool on June 28, 2006 at 04:09 PM
-
em.not bad
Posted by: keiki on June 28, 2006 at 06:26 PM
-
Hmm, Ctrl + Alt + M seems to be a shortcut for popping up Windows Desktop Search. Can you put another binding or make it work from a menu or button? I would love to see it work. Thanks.
Posted by: grimlock81 on June 28, 2006 at 06:53 PM
-
grimlock,
There will always be some other program with the overlapping shortcuts. If you just want to see it work, you can either disable the the WDS or download the sources and play with the org.jvnet.matrixrain.MatrixFrame test application.
Posted by: kirillcool on June 29, 2006 at 08:40 AM
|