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.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › Learning > basics > easing
Page Index Toggle Pages: 1
Learning > basics > easing (Read 847 times)
Learning > basics > easing
Sep 21st, 2007, 7:18pm
 
I'm not sure as a beginner..
howevever, it seems that there is an error on 'easing' tutorial of the website.

1)
it says "If the distance is larger than 1 pixel, the symbol moves half of the distance from its ... "
yet, the code presented is "float easing = 0.05'", that is, not half..

2)
I can't understand why those two variables, 'float targetX, targetY', are declared in spite of that they don't have any sigficant role.

p.s. I'm enjoying 'Processing' a lot, thanks..
Re: Learning > basics > easing
Reply #1 - Nov 24th, 2007, 11:01pm
 
Thank you! It's fixed...
Page Index Toggle Pages: 1