Skip to main content
Participant
Mar 9, 2022 3:37 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Legend
Mar 9, 2022 2:45 PM UTC
JoãoCésar17023019
Community Expert
Community Expert
Mar 9, 2022 8:52 AM UTC

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

Translate