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 & HelpSyntax Questions › Interaction with graphic elements
Page Index Toggle Pages: 1
Interaction with graphic elements (Read 370 times)
Interaction with graphic elements
Apr 20th, 2008, 1:21am
 
hi folks,

coming from flash it is in my mind, to produce movieclips, which have a unique name and can be clicked, if that name is called.
How does it work in Processing if i draw 1000 rectangles and want to click each and get a different feedback from them?

thank a thousand!


Re: Interaction with graphic elements
Reply #1 - Apr 21st, 2008, 12:13am
 
to specify more:
do i always have to draw everything new on the screen, if one element changes position, fades, scales etc.
for example, if i have a line(); and i want to change the color in some parts, do i have to clear the whole screen with background and then draw everything new with the changes i want?
if yes, how can i do this without loosing too much performance?

thanks a lot!
Page Index Toggle Pages: 1