Can someone help me come up with a formula that will smoothly transition from a starting value to an end value over a specified time using a Sin or Cos wave?
I'm attempting to replicate a bouncing effect like the one shown in my sample using CSS and jsfiddle. The sample is just for visualization purposes. The final formula should be written in plain math rather than any specific programming language.
My objective is to create a function where I can input these fundamental variables and receive an array of all the positions.
start = 0.0
end = 200.0
duration = 1000
bounces = 10