Re: [Nuke-users] y(frame)

2011-08-11 Thread Ron Ganbar
Thanks Frank. R On Aug 11, 2011 3:23 AM, Frank Rueter fr...@beingfrank.info wrote: I'm guessing it just means that you can reference a curve at a given frame?! I.e. curve(5) will give you the current key frame curve's value at frame 5 etc. On Aug 10, 2011, at 3:45 PM, Ron Ganbar

[Nuke-users] y(frame)

2011-08-10 Thread Ron Ganbar
Hey guys, how do I use this expression from the expression list in the manual: y(frame). Basically I have a random generator and I want to sample it every 2 (or 3...) frames. I have the random function. I already made an expression that gives me a number only every n'th frame. How do I connect

Re: [Nuke-users] y(frame)

2011-08-10 Thread Frank Rueter
Just use your second expression as the seed value for your first: random( ceil(frame/n)*n )/3+0.8 On Aug 10, 2011, at 12:23 PM, Ron Ganbar wrote: Hey guys, how do I use this expression from the expression list in the manual: y(frame). Basically I have a random generator and I want to sample

Re: [Nuke-users] y(frame)

2011-08-10 Thread Ron Ganbar
Thanks Frank. I should have thought about this. Still would be interested to understand how to use the y(frame) expression. Ron Ganbar email: ron...@gmail.com tel: +44 (0)7968 007 309 [UK] +972 (0)54 255 9765 [Israel] url: http://ronganbar.wordpress.com/ On 10 August 2011 23:35, Frank

Re: [Nuke-users] y(frame)

2011-08-10 Thread Frank Rueter
I'm guessing it just means that you can reference a curve at a given frame?! I.e. curve(5) will give you the current key frame curve's value at frame 5 etc. On Aug 10, 2011, at 3:45 PM, Ron Ganbar ron...@gmail.com wrote: Thanks Frank. I should have thought about this. Still would be