Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Algorithms > help with accel...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4842 of 4944
Post > Topic >>

help with acceleration and deceleration

by Bill <Bill@[EMAIL PROTECTED] > Jul 1, 2008 at 11:20 PM

I use the following formula in my application to scale an image over a 
period of time.

s = ( startScale + ( elapsedTime / duration ) * ( endScale - startScale 
) ) )

startScale = initial scale value
endScale = final scale value
elapsedTime = time elapse since we started
duration = scaling occurs over this period of time

The result is linear and I would prefer to have some acceleration during 
the beginning and deceleration at the end so that scaling gradually 
increases then decreases during the duration period. Can anyone please 
suggest something better? Ideally I would be able to adjust the amount 
of acceleration and deceleration values, thanks.
 




 4 Posts in Topic:
help with acceleration and deceleration
Bill <Bill@[EMAIL PROT  2008-07-01 23:20:27 
Re: help with acceleration and deceleration
Bill <Bill@[EMAIL PROT  2008-07-02 16:02:42 
Re: help with acceleration and deceleration
Kaba <none@[EMAIL PROT  2008-07-02 23:50:22 
Re: help with acceleration and deceleration
Daniel Pitts <newsgrou  2008-07-09 14:50:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 3:45:06 CDT 2008.