Skip to content

Commit

Permalink
Add all the parrots.
Browse files Browse the repository at this point in the history
In this commit, I removed the original frames in the frames folder.
Then I created a script: make-parrots.sh
This script goes to https://cultofthepartyparrot.com/ and proceeds to
download all parrot gifs.

Then we split up the gifs using ImageMagick,
then we use image2ascii to convert each png to a txt file.

We scale all images to be 50 x 25.  That seems pretty close to the
original parrot.live size.

I modified index.js to read in all the frames
(I think performace wise, this is ok, since it is just bytes)

Then I modified the http server to allow urls with
parrot.live/<parrot>

In the url, if you don't specify a parrot, we show
the original parrot.

You only need to specify a parrot given the name, without
the word "parrot" in it.

We also now provide a /list endpoint.
This endpoint will show all the available parrot types.

Finally, I removed the color randomization for now
since all the parrots have color already embedded in the frames files.
  • Loading branch information
joeheyming committed Mar 7, 2020
1 parent 12f5e20 commit 1f7d47c
Show file tree
Hide file tree
Showing 2,328 changed files with 57,986 additions and 209 deletions.
18 changes: 0 additions & 18 deletions frames/0.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/1.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/2.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/3.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/4.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/5.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/6.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/7.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/8.txt

This file was deleted.

18 changes: 0 additions & 18 deletions frames/9.txt

This file was deleted.

0 comments on commit 1f7d47c

Please sign in to comment.