Animate my object

New Here ,
Jul 30, 2022 Jul 30, 2022

Copy link to clipboard

Copied

Hi I am new to animation trying to use some expressions for a little animation I am trying for fun . Essentially I want my object to start randomly on the comp and if it is in the lower part of the screen it is large and if it goes to the top it's small all while randomly going around the comp how would I make this thank you 

 

TOPICS
Expressions

Views

47

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 30, 2022 Jul 30, 2022

Copy link to clipboard

Copied

How about something like this for position:

wiggle(1,thisComp.height/2)

and something like this for scale?

minScale = 25;
maxScale = 200;
s = linear(position[1],0,thisComp.height,minScale,maxScale);
[s,s]

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

Hi Dan,

thanks for your response. I was able to get a few things working from your tips. Although, i am still wondering how do i make the comp object start in random positions. thanks.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

I'm not sure exactly what your work flow is, but if you apply that wiggle expression to position and then duplicate the object a buch of times, the copies should be scattered randomly about the comp.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2022 Aug 02, 2022

Copy link to clipboard

Copied

LATEST

This is a better version of the position expression--it gives a better horizontal distribution:

w = wiggle(1,1) - value;
value + [w[0]*thisComp.width,w[1]*thisComp.height]/2

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines