Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Hello :-) The NSAnimation reference page at developer.apple.com does not explain everything. As i dont have a Mac i ask for some help. 1) NSAnimation maintains an array of NSAnimationProgress (floats). [NSAnimation -progressMarks] return a NSArray. - Is this NSArray a reference to the internal a

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Fred Kiefer
Xavier Glattard wrote: > > 2) I dont understand the 3 NSAnimationCurve... > - Are they linear or polynomic functions ? > - what do 'slowly speeds up' and 'slows down' really mean ? > You may think of these function as a sort of gamma corrections for the progress :-) "Slowly speeds up" would just

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Fred Kiefer gmx.de> writes: > Xavier Glattard wrote: > > > > 2) I dont understand the 3 NSAnimationCurve... > > - Are they linear or polynomic functions ? > > - what do 'slowly speeds up' and 'slows down' really mean ? > > > > You may think of these function as a sort of gamma corrections for

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Xavier Glattard online.fr> writes: > 2) I dont understand the 3 NSAnimationCurve... An other question : You can change the NSAnimationCurve while an animation is running. Does the animation _smoothly_ changes to the new curve ? Or does it 'jump' ? Thanks again :-) Xavier _

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Nicolas Roard
On 3/23/07, Xavier Glattard <[EMAIL PROTECTED]> wrote: Xavier Glattard online.fr> writes: > 2) I dont understand the 3 NSAnimationCurve... An other question : You can change the NSAnimationCurve while an animation is running. Does the animation _smoothly_ changes to the new curve ? Or does it

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread leeg
> > 2) I dont understand the 3 NSAnimationCurve... > - Are they linear or polynomic functions ? > - what do 'slowly speeds up' and 'slows down' really mean ? > They're certainly polynomial, but in fact they may not fit any finite-order polynomial function (may be sinusoidal for instance). I agree

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread leeg
> > un dessin est mieux qu'un long discours :-) A picture is worth a thousand words ;-) > > Linear : EaseIn : EaseOut: EaseInOut: > > | + | + | +++ |++ > |+| + | ++ | ++ > | + | + |+

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
Nicolas Roard gmail.com> writes: > On 3/23/07, Xavier Glattard online.fr> wrote: > > Xavier Glattard online.fr> writes: > > > > > 2) I dont understand the 3 NSAnimationCurve... > > > > An other question : > > > > You can change the NSAnimationCurve while an animation is running. > > Does the an

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Xavier Glattard
thaesofereode.info> writes: > > 2) I dont understand the 3 NSAnimationCurve... > > - Are they linear or polynomic functions ? > > - what do 'slowly speeds up' and 'slows down' really mean ? > > > > They're certainly polynomial, but in fact they may not fit any > finite-order polynomial function

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread leeg
> 2) Does MasOs use Bezier curves ? (do we care ?) Don't know (no), is my answer. NSAnimation on OS X only allows the curve to be one of the predefined NSAnimationCurve constants (it's an enum defined in NSAnimation.h), so the implementation details are completely unimportant. All you know is t

Re: Need informations about NSAnimation on MacOS

2007-03-23 Thread Fred Kiefer
Xavier Glattard wrote: > thaesofereode.info> writes: > >>> 2) I dont understand the 3 NSAnimationCurve... >>> - Are they linear or polynomic functions ? >>> - what do 'slowly speeds up' and 'slows down' really mean ? >>> >> They're certainly polynomial, but in fact they may not fit any >> finite

Re: Need informations about NSAnimation on MacOS

2007-03-24 Thread Xavier Glattard
Fred Kiefer gmx.de> writes: > > Xavier Glattard wrote: > > thaesofereode.info> writes: > > > >>> 2) I dont understand the 3 NSAnimationCurve... > >>> - Are they linear or polynomic functions ? > >>> - what do 'slowly speeds up' and 'slows down' really mean ? > >>> > >> They're certainly polyn