A simple experiment with HTML5 canvas that lets a user drag a photo into the browser window and apply a Holga-like filter (only black & white for now).
After cloning the repository you will need a couple of dependencies before you start working in your local environment.
This project requires node.js. nvm is an easy way to install node
.
# Install nvm and then node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
nvm install stable
For package management we use yarn.
# Install yarn package manager
curl -o- -L https://yarnpkg.com/install.sh | bash
# Install all package dependencies
yarn install
To see available script options:
yarn run
yarn run start
yarn upgrade-interactive
yarn run build && yarn run deploy
chmod +x ./bin/foo.sh
to make script inbin
executable.
- Add progress bar for file uploads.
- Add offline support.
- Color filter option.
- Robert Fleischmann's vignette filter from vintageJS
- Matt Riggott's Gaussian Blur experiments
- Canvas2Image
- Mozilla Developer Network
- HTML5 Demos
- Stack Overflow
- HTML5 Canvas Tutorials