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
Newbie (Read 542 times)
Newbie
May 5th, 2009, 4:38am
 
hey guys,

First time using processing, kinda suck on something that most of you will think is simple.

basically i have two circles and the user can draw between these two circles, i want to be able to stop the drawing tool once the line hits either circle, i know you can do this with the }else{ but how...


one other question,

i want get a screen grab every 30 seconds??

any ideas ??

thanks  Roll Eyes
Re: Newbie
Reply #1 - May 5th, 2009, 5:59am
 
You should try and make more significant subjects...  Roll Eyes

You need to find that mouseX/Y is below a given dist() of either circle center.

Screen grab: see save() or saveFrame().
Page Index Toggle Pages: 1