Turn a source image into an animated party emoji!
This smiling emoji is pretty cool:
However, it might be jealous of all those parrots and their parties. Let's help out our emoji friend.
Note: If you'd like to create emojis for Slack, make sure your input image is 128x128 (or less).
bin/ppp smile.png party.gif
If you want to tune the radius of the animating circle, you can use the --radius=<n>
option. The default for this is 10
.
For example, bin/ppp --radius=0 smile.png party.gif
will create a party version of smile.png
where the image has an ounce or two less party.
If you want the part emoji to rotate instead of (or in addition to!) moving, pass --rotate=1
. If you want it to rotate extra fast, try --rotate=2
or more!
const fs = require("fs");
const PartyPartyParty = require("party-party-party");
const outputFileStream = fs.createWriteStream("my-output-file.gif");
PartyPartyParty("my-input.png", outputFileStream, 10);