I think I found an anomaly that has been driving me nuts for the past 6 months that I have been playing with this ProcessingScreenSaver. When the saver goes on, the screen is blank. The app runs fine within Processing, and if I double click the .jar file it runs fine.
My steps using Processing 0125(might be a problem, haven't tried the newest version)
Using WinXp
1) Install ProcessingScreenSaver as outlined in the instructions.
2) compile the following code
3) export it
4) copy the jar file to my system32 directory
5) Select ProcessingScreenSaver as my saver
6) Give the name of the app (without the .jar) to the Settings section
7) Set the saver to go off in 1 min
8) Wait 1 min to see a blank screen.
Code:
float t=0;
void setup() {
size( screen.width, screen.height );
}
void draw(){
background(0);
ellipse( 5*t%screen.width, 100*cos(t) + screen.height/2.0, 40, 20);
t += PI/8.0;
}
Turns out, if I take out the cos and the PI, it works fine. This leads me to believe there is a Math library missing? Anyone have any ideas/have the same problem?