Skip to content

hellocatfood/gif-sparkle-dust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gif Sparkle Dust

Gif Sparkle Dust is a collection of simple scripts for overlaying many copies of gifs onto an image. It's inspired by the confetti that would rain down on early 90s websites.

The scripts works placing gifs onto a random position on the input image and then doing that repeatedly. For this reason the script is quite slow.

sparkle.sh uses just one gif as the gif to overlay.

sparkle_sparkle.sh picks a random gif from a directory of gifs. ImageMagick can't combine animations of different lengths (see here) and so, depending on the lenght of the first gif in the loop, you may find that your input gifs get cut off early or the play once and then disappear.

Input file

example image

Output of sparkle.sh

example image

Output of sparkle_sparkle.sh

example image

Dependencies

ImageMagick (version 6 used, not tested on 7)

Usage

/sparkle.sh inputimage inputgif 10

Replace inputimage with your input image and replace inputgif with a gif of your choice. Using 10 will overlay 10 copies of gif onto the image. The file will be saved in the directory containing the script

Notes

Releases

No releases published

Packages

No packages published

Languages