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
mirror (Read 366 times)
mirror
Dec 22nd, 2007, 11:55am
 
hello,

i'm pretty new in working with processing and i plan to work on some ornamentic stuff.
i want to draw objects on the screen and by pressing a button the screeen should seperate in two parts and the one half you have the mirrored image of the other part. is there any set function in processing to work with?
Re: mirror
Reply #1 - Dec 22nd, 2007, 5:23pm
 
hi, it shouldn't be hard to do that using the pixels array[] :
http://processing.org/reference/pixels.html
Page Index Toggle Pages: 1