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.
IndexProgramming Questions & HelpPrograms › How make the picture color become gradually thin
Page Index Toggle Pages: 1
How make the picture color become gradually thin (Read 562 times)
How make the picture color become gradually thin
Nov 19th, 2007, 10:00am
 
How make the picture color become gradually thin, disappear finally
Re: How make the picture color become gradually th
Reply #1 - Nov 19th, 2007, 8:55pm
 
something like this?

Quote:

void setup() {
 size(200,200);
 background(0);
 fill(255,0,0);
 rect(50,50,100,100);
 fill(0,5);
}

void draw() {
 rect(0,0,width,height);
}

dude, your english is even funnier than mine Wink
Re: How make the picture color become gradually th
Reply #2 - Nov 20th, 2007, 2:18am
 
Thank you very much! Your answer is litter like my wanted ,but if become the graphics to a Image ,we will do what make its color become light gradually


Let you laugh at! My English is very poor.
Re: How make the picture color become gradually th
Reply #3 - Nov 20th, 2007, 7:54am
 
If bu thinning an image you mean fading it out, see these posts. You need to use the Tint() command.

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1192909543

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1192449937
Page Index Toggle Pages: 1