The very simple app I have created allows you to generate a countdown timer animated gif depending on the URL parameters you provide. View the code.
URL Parameters
- time* - Date & time when your countdown will end [e.g. 2016-06-24T20:35]
- frames - number of frames (also number of seconds) the countdown will run before looping [defaults to 30]
- width - width in pixels [defaults to 200]
- height - height in pixels [defaults to 200]
- bg - hex colour code for the background [defaults to 000000]
- color - hex colour code for the text [defaults to ffffff]
- name - filename used for the generated gif [defaults to 'default']
* required.
Generate Examples Triggers a download
Serve Examples Display in an image tag
Basic example
Simple example setting only the date + time.
Custom colours
Example setting a custom set of colours.
Custom dimensions
Example setting a custom set of dimensions.
Under the hood the app uses: