Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add several parrots. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

joeheyming
Copy link

In this commit, I removed the original frames.
Then I created a script: make-parrots.sh
This script goes to https://cultofthepartyparrot.com/ and proceeds to
download all hd parrot gifs.

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

I tried it on non-hd gifs and the results were too small.
So we only get hd gifs for now.

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/

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.

@joeheyming joeheyming changed the title Add several HD parrots. Add several parrots. Nov 3, 2019
@joeheyming
Copy link
Author

joeheyming commented Mar 7, 2020

Here is a sample video

foo2

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant