Beenden
  • Globale Community
    • Sprache:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

Start/Stop Time Expression

Neu hier ,
Jul 06, 2016 Jul 06, 2016

Hi,

I'm new to expressions and I need to start and stop the expression at specific frames.

My expression as follows:

f = effect("Frequency")(1);

p = effect("Period")(1);

Math.cos(p * textIndex/textTotal + time*f)*50

Thanks in advance for all your help!

THEMEN
Ausdrücke
2.4K
Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines

correct answers 1 richtige Antwort

Community Expert , Jul 06, 2016 Jul 06, 2016

I'm not sure if this is what you're after, but this expression will run from frame 10 to fame 30--outside that range, it will be like the expression isn't there:

fStart = 10;

fStop = 30;

if (time >= framesToTime(fStart) && time < framesToTime(fStop)){

  f = effect("Frequency")(1);

  p = effect("Period")(1);

  Math.cos(p * textIndex/textTotal + time*f)*50;

}else

  value

Dan

Übersetzen
Community Expert ,
Jul 06, 2016 Jul 06, 2016

I'm not sure if this is what you're after, but this expression will run from frame 10 to fame 30--outside that range, it will be like the expression isn't there:

fStart = 10;

fStop = 30;

if (time >= framesToTime(fStart) && time < framesToTime(fStop)){

  f = effect("Frequency")(1);

  p = effect("Period")(1);

  Math.cos(p * textIndex/textTotal + time*f)*50;

}else

  value

Dan

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Neu hier ,
Jul 06, 2016 Jul 06, 2016

Thanks so much Dan of the prompt reply!

Do you know how can I slow down the wavy effect from my expression all the way to zero? I know I'm abusing at this point!

Thanks again.

Federico

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Jul 06, 2016 Jul 06, 2016
Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Neu hier ,
Jul 06, 2016 Jul 06, 2016

Thanks for the link Dan. I'll get into it.

F

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Neu hier ,
Jul 06, 2016 Jul 06, 2016
AKTUELL

Hey Dan,

I found a solution using Slider Controls on my expression and it worked just fine.

Thanks again!

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines