2-concat.sh 219 B

123456789101112
  1. #!/bin/bash
  2. # Create animated GIF.
  3. #
  4. # Dependencies:
  5. #
  6. # - Imagemagick
  7. duration=1100
  8. framecount=30
  9. delay=$(bc -l <<< "$duration / $framecount / 10")
  10. convert -delay $delay -loop 0 -colors 24 spinner-*.png spinner.gif