Giter VIP home page Giter VIP logo

gif-sparkle-dust's Introduction

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

gif-sparkle-dust's People

Contributors

hellocatfood avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.