Skip to content

Instantly share code, notes, and snippets.

@andersx
Created August 11, 2017 10:54
Show Gist options
  • Select an option

  • Save andersx/3b1e177be4ad2660856a395141c370fb to your computer and use it in GitHub Desktop.

Select an option

Save andersx/3b1e177be4ad2660856a395141c370fb to your computer and use it in GitHub Desktop.
McGif
#!/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