Great! Thanks to both you and Frank. Both suggestions are very helpful to understand both TCL and the math.
Michael > On Mar 25, 2017, at 11:17 AM, Mads Lund <[email protected]> wrote: > > If you want the math then you can do smoothstep like this: 0.5 - 0.5 * cos( > value * pi ) or Gaussian: ( 1- exp( -4 * pow(value,2)) ) * 1.018657 > > On Sat, Mar 25, 2017 at 4:34 AM, Frank Rueter|OHUfx <[email protected] > <mailto:[email protected]>> wrote: > You mean like an ease in/out curve? > Try this: > smoothstep(0,100,x) > > Yields an s-curve animating from 0-1 between frame 0 and 100 > > > On 25/03/17 9:37 AM, Michael Hodges wrote: > I’ve used cyclic expressions for animation like: > > (sin(2*pi*(frame)/24)+1)/2 > > And I’m also quite familiar with using the curve editor. > > However, what would be the way (mathematically with an expression) to create > a smooth transition curve from, for example value 0-1 from frame 0 to frame > 100? Maybe a sin wave that is held at the apogee or something? > > Michael_______________________________________________ > Nuke-users mailing list > [email protected] > <mailto:[email protected]>, http://forums.thefoundry.co.uk/ > <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > <http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users> > > _______________________________________________ > Nuke-users mailing list > [email protected] > <mailto:[email protected]>, http://forums.thefoundry.co.uk/ > <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > <http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users> > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
