/PPaaS

Party Parrot as a Service

Primary LanguageJavaScriptMIT LicenseMIT

PPaaS

Party Parrot as a Service

PPaaS UI

You can use the PPaaS UI to create party parrots in a friendlier manner (see its GitHub repo).

Basic call

https://ppaas.herokuapp.com/partyparrot

Party Parrot

Overlay

You can add an overlay that follows the parrot using the overlay query parameter:

https://ppaas.herokuapp.com/partyparrot?overlay=http://i.imgur.com/QJ41dQb.png

Here is the result: Upvote Party Parrot

The image is not shown because it is too big and is not rendered in the canvas.

Overlay Parameters

To solve this problem, it is possible to adjust it the overlay with the following parameters:

  • overlayHeight
  • overlayWidth
  • overlayOffsetX
  • overlayOffsetY
  • flipOverlayY
  • flipOverlayX

https://ppaas.herokuapp.com/partyparrot?overlay=http://i.imgur.com/QJ41dQb.png&overlayWidth=15&overlayHeight=15&overlayOffsetX=-7&overlayOffsetY=-3

Here is the result: Upvote Party Parrot

Delay

You can adjust the delay between frames using the delay query parameter:

https://ppaas.herokuapp.com/partyparrot?delay=20

Here is the result: Fast Parrot

Colors

You can set the colors for each frame using the colors query parameter:

https://ppaas.herokuapp.com/partyparrot/middleparrot?colors=00CCCC,00AAAA,008888,006666,004444&delay=50

Here is the result: Green-ish Middle Parrot

Base Parrot

You can change the base parrot using /partyparrot/:baseparrot.

The list of supported base parrots is in the baseparrots folder.

Note that the changing the base parrot also supports all the other parameters.

https://ppaas.herokuapp.com/partyparrot/rightparrot

Here is the result: Right Parrot

For a bigger party:

https://ppaas.herokuapp.com/partyparrot/mega?overlay=http://vignette3.wikia.nocookie.net/runescape2/images/0/0a/Wizard_hat_(t)_detail.png&overlayWidth=100&overlayHeight=100&overlayOffsetY=-150

Mega Wizard Parrot

https://ppaas.herokuapp.com/baseparrots returns the list of available parrots.