Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.69 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.69 KB

p5.gif

NHibiki NHibiki Docs CircleCI - Prod

Loading Demo | Capturing Demo

Summary

p5gif is a library to allow you play/use animated gif in p5.js and process GIF on top of p5.js. It can help artists easily handling GIF related operations. eg. making GIFs, splitting frames, etc.

How to use

Refer to CDN

<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js"></script>
<script src="https://unpkg.com/p5.gif/dist/p5gif.min.js"></script>

Build From Source

git clone https://github.com/WenheLI/p5.gif.git ./node_modules/p5.gif
cd ./node_modules/p5.gif

yarn && yarn build
cd ../..

In your nodejs

import p5Gif from 'p5.gif/build/p5gif.min.js';

Manual