0.0.2 • Published 1 year ago
@cau-riken/vol-renderer v0.0.2
vol-renderer
A npm package to display NIfTI volume (based on ThreeJs)
Try the online demo.
Usage
In the consuming project, add a line to your .npmrc
file so this package can be retrieve from github package repository :
@cau-riken:registry=https://npm.pkg.github.com
Install package
npm install @cau-riken/vol-renderer
Import package and use in your code
import 'normalize.css';
....
import { VolumeRenderer } from "@cau-riken/vol-renderer";
import "@cau-riken/vol-renderer/dist/main.css";
....
<VolumeRenderer
url='resources/Marmoset_T2WI.nii.gz'
inlineControls={true}
/>
0.0.2
1 year ago