Ask Your Question
2

Add a start, stop and pause button to a sage animation

asked 2011-12-14 14:37:38 +0200

sagefan gravatar image

Is it possible to add start, stop and pause buttons to a sage animation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-12-14 15:48:47 +0200

Shashank gravatar image

Not exactly, but you can try to use 'interact' instead of 'animate'.

http://wiki.sagemath.org/interact/

Also, you can save the animation as a video using matplotlib animation (version 1.1), yet to be updated in sage

http://matplotlib.sourceforge.net/exa...

Or you can save the images from animation as a bunch of images and join them together in to a video using mencoder. Video is more convenient than gif because you can pause it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-12-14 14:37:38 +0200

Seen: 931 times

Last updated: Dec 14 '11