add slicer example
ignore node_modules in examples
upgrade canvas
correctly load internal canvas classes
add output directory as third argument