Skip to main content
S_ A
Inspiring
July 25, 2024
Answered

why time expression behaves like this

  • July 25, 2024
  • 1 reply
  • 382 views

Hi,

 

I am studying time expression.  as time expression  is different for   'Array values' so I need to understand it strongly. I totally understand scale. but position is giving me trouble.

 

I experimented 'position' with   time alone, then with plus, minus , multipy and divide. I understand all besides time with divide. I took a 20 sec long comp, 24fps, so total 480 frame. so when I apply  multiply on X position like

 

 [position[0] * time, position[1] ] , then box moves 22.5 pixel on each frame from 0 pixel. I understand this increment. I get why box  moves on X axis  22.5 pixel on each frame.

 

but  when I wrote 

[position [0] / time, position[1]];

then  x position shows  12960.0  and box gets kicked outta comp window!! 😮 😮

but why?

 

what is after effect doing when am writting  [position [0] / time, position[1]] , what's going on here?

I dnt understand what makes AE produces 12960 pixel on the position of X axis  and why the box moves so far? 😮

 

plz help. all I wanna know what after effects reads when I say divide x position with time and why AE shows 12960 pixel on X.

 

 

 

This topic has been closed for replies.
Correct answer Airweb_AE

The frame duration is 0.04166666

 

position[0] / time

 

540 / 0.04166666 =  12 960

 

position[0] * time

 540 * 0.04166666 =  22.5

1 reply

Airweb_AECorrect answer
Legend
July 25, 2024

The frame duration is 0.04166666

 

position[0] / time

 

540 / 0.04166666 =  12 960

 

position[0] * time

 540 * 0.04166666 =  22.5

S_ A
S_ AAuthor
Inspiring
July 25, 2024

😮 😮 😮 U r Albert Einstein. 😮 😮 😮 😮

 

😮 😮 😮 Thank you to the power of zillions. 😮