Is it possible to flip the entire avs image horizontally after a random amount of time? If so how can this be done?- And, no, mirror isn't what I am after.
Thank you.
Flip image
10 posts
In movement:
x=-x (to flip it horizontally)
y=-y (to flip it vertically)
With a dynamic movement:
For a flip at every N beat you can do...
Init
flip=1 ; beatlimit=10
Beat
counter= if( above(counter,beatlimit), 0 , counter+1 ) ;
flip= if( equal(counter,0), -flip , flip ) ;
frame
x=x*flip (for horizontal flip)
or
y=y*flip (for vertical flip)
That simple 🙂
x=-x (to flip it horizontally)
y=-y (to flip it vertically)
With a dynamic movement:
For a flip at every N beat you can do...
Init
flip=1 ; beatlimit=10
Beat
counter= if( above(counter,beatlimit), 0 , counter+1 ) ;
flip= if( equal(counter,0), -flip , flip ) ;
frame
x=x*flip (for horizontal flip)
or
y=y*flip (for vertical flip)
That simple 🙂
god why couldnt I reply first 😛
And if, instead of after a certain number of beats you want it to go after a certain amount of time(for whatever reason) then instead of increasing the counter and setting the flip variable in the ON BEAT section, you could set it in the ON FRAME section, so that you could specify the number of frames instead of the number of beats.
Thanks for the info!
I managed to get the "static" flipping working, but not the dynamic
(see piccy) What am I doing wrong/left out/forgotton etc? I've never messed around with variables and the like in the AVS....Until now.
I managed to get the "static" flipping working, but not the dynamic
(see piccy) What am I doing wrong/left out/forgotton etc? I've never messed around with variables and the like in the AVS....Until now.
x=x*flip goes in pixel, not frame.
x,y,d,r are never calculated in frame
x,y,d,r are never calculated in frame
X and Y are claculated in Per Frame only in Dynamic Shift
HUZZZZAH!
Many thanks once again. All is working luverly juberly now.
Many thanks once again. All is working luverly juberly now.
hehe, you speak funny 😁...
nice sig also...
nice sig also...
lol even I know the answer on that 🙂