Discussions for Scenes for Version 1.2.X Fullscreen Mode here
Всё о iStripper
6 September 2020, 5054 Ответы
In addition to the curve types listed by @Wyldanimal the program also supports SineCurve and CosineCurve. For these the value varies as a sine or cosine function of time. If the period is T and the amplitude A then for SineCurve the value starts at 0, reaches its maximum, A, at T/2 and returns to 0 at time T. For CosineCurve the value follows a similar curve, but is phase shifted by 90 degrees so, exceptionally for an easing curve, does not start with a value of 0 but with A/2, it then increases until it reaches its maximum value at time T/4, falls back to A/2 at time T/2, goes to zero at time 3T/4 and is back at A/2 at time T.
Applying SineCurve to one axis and CosineCurve to another using equal periods will result in an elliptical movement which will be circular if the amplitudes are equal.
The underlying Qt toolkit also seems to have the following types of easing curves
InCurve, OutCurve,
TCBSpline, BezierSpline,
Custom
all of which would seem to support more general curve functions, but as far as i know there is as yet no way to use any of these in a scene.
(This should have been in my earlier post. For the direction and repeat parameter we can have Forward and LoopForward , their inverses Backward and LoopBackward, or PingPong. An inverse of PingPong would be a convenient addition - PongPing perhaps? You can get the same effect by changing the initial value and negating the amplitude but it is not as convenient)
UPDATE: Looking at the online documentation SineCurve and CosineCurve are not "easing curves" but alternatives to them. Nevertheless they worked in iStripper scenes just like the real easing curves - though it has been some time since I checked. Also I may have gotthe behaviours of the sine and cosine curves slightly mixed up - it may be the sine curve that starts at A/2 (the behaviour described above is what I have in my notes, but feels "odd" to me).