I'm creating an animation which goes something like this:
frame x, frame y, frame z
pause
reverse, i.e. frame z, frame y, frame x
pause
repeat
Here's my (somewhat pseudo)code:
Code: Select all
im->Set(size => "${width}x${height}");
$im->[$frameno++]->Draw(x...
$im->[$frameno++]->Draw(y...
$im->[$frameno++]->Draw(z...
pause 10
$im->[$frameno++]->Draw(z...
$im->[$frameno++]->Draw(y...
$im->[$frameno++]->Draw(x...
pause 10
Also, since I'm rewinding the film, so to speak, is there a way to do this animation without having to add frame z, y, x again?
Thanks much for your help!