We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Applet (Read 1336 times)
Applet
Sep 9th, 2006, 7:35am
 
void draw(){
 background(0);
 translate(50, 15);
 for(int i=0; i<=75; i++){
   stroke(255, 255-255*((frameCount+i)%240)/240);
   point(0, i);
 }
}

This applet does not run normally under Win+IE, but runs normally under OSX+Safari.

under Win+IE
http://www.geocities.jp/re_chestnut/test/a.gif

under OSX+Safari
http://www.geocities.jp/re_chestnut/test/b.gif
Re: Applet
Reply #1 - Sep 9th, 2006, 2:37pm
 
those links don't seem to be working.

but my guess is that you need to install java on the windows machine.
Re: Applet
Reply #2 - Sep 9th, 2006, 5:31pm
 
I apologize for the thing that those links don't work.

This code is a program that draws the line while smoothly changing brightness.
When this code is run with the Run button, it works normally.
However, brightness doesn't change smoothly when this exported applet on the web is run under Windows+IE.
Re: Applet
Reply #3 - Sep 10th, 2006, 2:58am
 
that sounds more like different monitor settings. perhaps one is set to millions of colors and the other is set to thousands?
Re: Applet
Reply #4 - Sep 10th, 2006, 5:39am
 
Because the applet of RBGCube included in Learning is displayed full-color, I think  monitor settings to be unquestionable.

It is displayed like the movement of the point rather than the brightness of the line not smoothly changing.
When also executing it with the Run button after "Setup() {size(100,100);}" was added to the above-mentioned code, a similar phenomenon was able to be reproduced.
Moreover, there is no problem when a comparatively large size of the display such as "Setup() {size(200,200);}" is specified when executing it with the Run button.
Re: Applet
Reply #5 - Sep 24th, 2006, 5:41pm
 
please post this as an item in the bugs db along with archived versions of sketches that can be used to demonstrate the problem, as well as those original images. i've never seen this situation, so i need to have a way to reproduce it in order to fix it.
Page Index Toggle Pages: 1