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 › Clicking a button to activate a zoom on an object
Page Index Toggle Pages: 1
Clicking a button to activate a zoom on an object (Read 668 times)
Clicking a button to activate a zoom on an object
May 10th, 2010, 1:35pm
 
Hey everyone. I'm doing a project for a class and I'm trying to figure out how to trigger a "zoom in" on an object once I click a button. Much like that ScaleShape example in the Processing program where an image remains centered, but zoomed in based on mouseX. Except what I want to do is allow the zoom is activated by a button press instead of by mouseX.

Thanks in advance!
Page Index Toggle Pages: 1