Skip to content

Use ImageMagick and R or Python to create an animated GIF countdown timer

Notifications You must be signed in to change notification settings

vprivat-ads/gif_timer

 
 

Repository files navigation

GIF Timer

Sometimes it's useful to have a countdown timer that's not part of another program or based online. Animated GIFs are supported all over the place (even in PowerPoint and Keynote) and work great as timers.

These two scripts use ImageMagick to generate a GIF that lasts any arbitrary duration. They both work slightly differently: the R version animates a series of ggplot2 plots, while the Python version uses ImageMagick's text drawing capabilities directly. Both work well with some minor issues and workarounds (documented in the code).

And here they are in action:

R version

Python version

About

Use ImageMagick and R or Python to create an animated GIF countdown timer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 62.9%
  • Python 37.1%