jvalen / pixel-art-react

Pixel art animation and drawing web app powered by React
https://www.pixelartcss.com/
MIT License
5.43k stars 306 forks source link

Implement canvas based gif export #16

Closed bcho closed 6 years ago

bcho commented 6 years ago

This pull request implements a canvas based gif export method, details see #15

Screenshot:

screen shot 2018-07-13 at 1 52 27 pm

Export example:

alkdppf

brthbkbo

jvalen commented 6 years ago

Good job @bcho ! I think this is a great improvement.

I've added some comments within the files review about a couple of things that need to be changed but don't worry about it, I will merge the PR and I'll fix it myself.

In addition I'll add some tweaks such as leaving just one button instead having two or using the same functionality to create de spritesheet.

Thanks so much for your contribution! :+1:

bcho commented 6 years ago

@jvalen I fixed the activeFrame above, you can pick these commits to the develop branch now.