Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scotchfield/party-party-party
Turn a source image into an animated party emoji
https://github.com/scotchfield/party-party-party
Last synced: 4 months ago
JSON representation
Turn a source image into an animated party emoji
- Host: GitHub
- URL: https://github.com/scotchfield/party-party-party
- Owner: scotchfield
- License: mit
- Created: 2018-01-16T23:28:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T01:25:05.000Z (over 4 years ago)
- Last Synced: 2024-07-31T20:44:33.750Z (7 months ago)
- Language: JavaScript
- Size: 462 KB
- Stars: 222
- Watchers: 6
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# party-party-party
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).
## Usage
### CLI
`bin/ppp smile.png party.gif`#### Radius
If you want to tune the radius of the animating circle, you can use the `--radius=` 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.

#### Rotation
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!
### Node
```
const fs = require("fs");
const PartyPartyParty = require("party-party-party");const outputFileStream = fs.createWriteStream("my-output-file.gif");
PartyPartyParty("my-input.png", outputFileStream, 10);
```