i have a problem with exporting an animation as a video; i can't get the animation to only go in one direction it awlays goes forward and backwards. AnimatioDirection does nothing. i can't remove the animator too. I should also convert it into a .MP4 file later. thanks in advance, i know I am a newbie. code below

a = Animate[
Plot[{-uexact[x, t]}, {x, -20, 20}, PlotRange -> {0, 9}], 
Graphics[{PointSize[Large], Blue, 
Point[{-16.89587 + 16 (t + 1), 8}]}], 
Graphics[{PointSize[Large], Orange, 
Point[{-4.346573590279973 + 4 (t + 1), r}]}]}], {t, -1, 1}, 
AnimationDirection -> Forward, AppearanceElements -> None]
Export["2-sol.avi", a, "AVI", "AnimationDirection" -> Forward]
  • 1
    $\begingroup$ Use Table (with t as index) instead of Animate to make list of graphics frames. Then export that list into .AVI. Both problems - repetition and removal of control - will be solved. Next time post full code please - or just a minimal example. $\endgroup$ – Vitaliy Kaurov Sep 17 '18 at 14:30
  • $\begingroup$ ... see first example in docs on AVI $\endgroup$ – Vitaliy Kaurov Sep 17 '18 at 15:24

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.