Created
August 11, 2017 10:54
-
-
Save andersx/3b1e177be4ad2660856a395141c370fb to your computer and use it in GitHub Desktop.
McGif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # The scripts needs a gif.script file. | |
| # Mine contains: | |
| # | |
| # | |
| # set background white | |
| # write frames {*} 800 600 "all.jpg" | |
| # | |
| # | |
| jmol $1 -s /home/andersx/bin/gif.script --nodisplay | |
| convert -delay 20 -loop 0 all*.jpg all.gif | |
| rm all[0-9]*.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment