git clone
npm install
- Create an "input" folder inside the cloned repo
- Place your image inside this "input" folder
- Adjust the config in
config.json
. The measurements in this config are in cm. npm run slice
- View your sliced image in the "output" folder
You can update the image sources in index.html
to visualize the input/output
npm run clear
deletes all files inside both the "input" and "output" foldersnpm run clear-input
deletes all files inside the "input" foldernpm run clear-output
deletes all files inside the "output" folder