color gradients animation: keep up length and velocity

General Moho topics.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
HHGG
Posts: 53
Joined: Sun May 01, 2016 11:50 pm

color gradients animation: keep up length and velocity

Post by HHGG » Mon Apr 16, 2018 6:15 pm

I want to simulate a rotating circle with color gradients.
I've done this freehand with drag and drop of the outer little circle:

Image

But the problem is that the length of the color gradient is changing
a little bit during animation and also the velocity.

So is there a simple possibility to get an exact constant length of the
color gradient and an exact constant velocity for the animation?
User avatar
synthsin75
Posts: 7155
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: color gradients animation: keep up length and velocity

Post by synthsin75 » Mon Apr 16, 2018 6:32 pm

Easiest way is to copy and paste the shape, move down the timeline, and rotate the handle all the way around to align with its duplicate's handle again. Then just set the first keyframe to linear interpolation and delete the duplicate.
will_f
Posts: 26
Joined: Sun Jan 15, 2017 12:58 am

Re: color gradients animation: keep up length and velocity

Post by will_f » Mon Apr 16, 2018 8:42 pm

It might help if your gradient control was centered in the circle. Also it looks like you used "smooth" interpolation on the keys for the rotation. Smooth interpolation starts and ends slow, and speeds up in the middle. Perhaps change the interpolation on those keys from smooth to linear.
obtusity
Posts: 73
Joined: Tue Jan 12, 2016 2:30 am

Re: color gradients animation: keep up length and velocity

Post by obtusity » Wed Apr 18, 2018 12:25 am

Probably a silly question, but why not use a static gradient and a rotating circle?
HHGG
Posts: 53
Joined: Sun May 01, 2016 11:50 pm

Re: color gradients animation: keep up length and velocity

Post by HHGG » Sat Apr 21, 2018 2:01 am

Thank you for your tipp to use "linear". That is good enough for me, but thank for the tipp do use a duplicate.
Last edited by HHGG on Sat Apr 21, 2018 2:16 am, edited 1 time in total.
HHGG
Posts: 53
Joined: Sun May 01, 2016 11:50 pm

Re: color gradients animation: keep up length and velocity

Post by HHGG » Sat Apr 21, 2018 2:16 am

obtusity wrote:Probably a silly question, but why not use a static gradient and a rotating circle?
I haven't think about that although it seems to be the obvious solution.
But do you or anybody know how to do that?

I think in the last frame I have do set the angle to 360 degrees.
And also set the direction of rotating to left or right.

With the form choosing tool I can't set degrees so I marked my object with
the point transform tool. Then there is a field where I can set the angle.
First problem: The angle is always set back to 0.
Second problem: There is no field to set a direction of the rotation.

So knows anybody how can I set in the last frame the angle to 360 degrees and the
rotation direction to left or right?

With the point transformation tool I can try a freehand 360 degree rotation
but I think I could do it more exactly if I only have to set the two values
I need in the last frame: angle and rotation direction.

But now I have a new thought: the color gradient has nothing to do with
rotating because the color gradient is simulating the shadows of a light on my object
and if the light position isn't changing and I rotate my object the color gradient
isn't changing. So the only possibilty is to change the color gradient directly.
Is that true?

But I see now you wrote about a static gradient. Is that a gradient that is rotating if the object
is rotating and where can I set a color gradient to static? I can't find such a setting.
User avatar
chucky
Posts: 3932
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: color gradients animation: keep up length and velocity

Post by chucky » Sat Apr 21, 2018 2:32 am

YOu could use a mask and have that unbound?
Sequential offender.
my latest animations
Post Reply