Jayson Ragasa
Jayson Ragasa

Reputation: 1029

C# 2D Animation - From slow to fast

Am not good in animation and I don't have a good formula to do some good animation.

I like to ask if you can share any codes that can move an object starting slowly then it gets faster? (accelerating)

I want to do something similar with Google's doodle today about "Eadweard Muybridge"

Thanks a lot!

Upvotes: 0

Views: 234

Answers (1)

LTR
LTR

Reputation: 1352

Try formulas like

Position.X = TimeSinceStart ^ 2

And try varying the exponent. (e.g. 1/2 or 1.5)

Upvotes: 1

Related Questions