azu / puzzleCanvasDRM

Puzzle Canvas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puzzle Canvas

  • Create puzzle image from a image.(encode/)
  • Restore a image from puzzled image and imageMap.json.(decode/)

Installation

npm install
# -- #
npm run watch:decode
npm run watch:encode
npm run dist:lib

Usage

  1. Open encode/index.html
  2. Save puzzled image and imageMap.json
  3. Open decode/index.html
  4. Restore puzzled image to normal image.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

About

Puzzle Canvas

License:MIT License


Languages

Language:JavaScript 100.0%