datacube-image-slicer
generate 2d slices from 3d data & paint them onto a HTML5 canvas.
install
npm install --save datacube-image-slicer
usage
const res = await windowconst data = await res // 3D array of ints, 0-255 data node: document axis: 'x' // y, or z { console otherViewposition = datacubeViewposition otherView })
more information is available in the API docs