Skip to main content
Participant
August 8, 2024
Question

Looking for help with an Expression

  • August 8, 2024
  • 1 reply
  • 116 views

Thinking this may be a long shot but hoping someone can help. I'm trying to reproduce an effect similar to the one in this video but not as complicated.

 

I will only have 8 bars and none will have "counters" attached to them. My plan is to manually keyframe the X position of the bars (because I'd like a certain amount of control with how these look). I would like to have an expression that shifts the ranking so any bar with a higher X value than any other bar shifts up on the Y axis.

I was able to do this but the bars were simply switching Y position rather than tweening from one Y position to another. The Y positions for each bar are yPos = [420, 507, 594, 681, 770, 857, 944, 1031].

Thank you in advance for any help or insight you can provide

This topic has been closed for replies.

1 reply

Mylenium
Legend
August 9, 2024

Could be anything from valueAtTime() based on a prototype animation to a simple linear()/ease() between the positions. Yould still need to run it in a loop to continuously compare the actual values and also determine the animation duration of the transition. Perfectly doable, but more than a five minute project. There's always some sort of caveat. In any case, check AEScripts.com. Perhaps one of the chart tools there can do it already.

 

Mylenium