Skip to main content
Participant
March 9, 2022
Question

Are the formulas used for motion tweens, etc. published anywhere?

  • March 9, 2022
  • 2 replies
  • 284 views

I have created the X coordinate movement as shown in the attached photo. I tried to reproduce this movement in a program such as C++, but the calculations just did not match.

Is there any formula or something available article somewhere?
Please help me.

 

This topic has been closed for replies.

2 replies

Legend
March 9, 2022
JoãoCésar17023019
Community Expert
Community Expert
March 9, 2022

Hi.

 

Maybe you can try to export the motion as XML (Commands > Export Motion XML) or if you use the HTML5 Canvas document, you can inspect the generated JS file.

 

For example: a rectangle moving from left to right in a curved path...

 

... generates this code:

 

Please let us know.

 

Regards,

JC