1

How do I post a video of an animation produced by code to the main site? Here's a minimal example:

Animate[Plot[Sin[x + t], {x, 0, 5}], {t, 0, 10, .01}]
0

1 Answer 1

9

Create your gif as:

myVideo = Animate[Plot[Sin[x + t], {x, 0, 5}], {t, 0, 10, .01}];

Then

Export[(filepath here.../myVideo.gif, myVideo, "GIF"]

enter image description here

Then in StackExchange click the teeny image icon on the bar above the text window and Browse and Paste myVideo.gif

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .