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 › getting started..
Page Index Toggle Pages: 1
getting started.. (Read 459 times)
getting started..
Oct 28th, 2009, 12:26am
 
Hello everybody!

It's the first time I use Processing and I'm trying to create the animation of a twirling baton... But I can't! Sad
Please give me some help! What kind of figure do I have to use!?

thanks a lot, bye!
Re: getting started..
Reply #1 - Oct 28th, 2009, 1:55am
 
You can use line() along with some strokeWeight() (strokeCap() might be interesting too).
You can also use rect() along with rotate() and translate() but it is a bit harder.
Page Index Toggle Pages: 1