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
BLUR??? (Read 390 times)
BLUR???
Dec 1st, 2008, 12:52pm
 
I'll like to add blur to a color square (rect), it's that possible??
I was looking for blur here in the forum, but i couldn't find anything about this subject. I only found blur for pixels.

thanks a lot for your help.
Re: BLUR???
Reply #1 - Dec 1st, 2008, 1:32pm
 
Processing isn't that comfortable, when it comes to special cases you have to find your own way. So what is blur. Blur calculates the the average of a pixels and its 8 neighbours colour. As your rect have only one colour you only need to blur the pixels direct on the corner (to blur isn't that fast, so it make sense only to blur the necessary parts). There is an example at the learning section how to implement blur by yourself :
http://processing.org/learning/topics/blur.html
Page Index Toggle Pages: 1