CosmoStat/Glimpse

Add javascript 3D volume renderer for visualisation

EiffL opened this issue · 2 comments

EiffL commented

The project could use a javascript demo of a visualization tool that could be embedded in websites for demos and advertisement.
Path of least resistance is probably to use the medical imaging AMI Medical Imaging (AMI) JS ToolKit for THREEJS (https://github.com/FNNDSC/ami) with volumes exported in nifti file format using nibabel (http://nipy.org/nibabel)

EiffL commented

@sfarrens I've added in branch javascript_visualisation a first draft of a javascript plugin that draws 3D volumetric data in an html page.
Live demo there:
https://codepen.io/EiffL/pen/oqJLwK
I would be super happy to have your thoughts and/or help on this (if you happen to have mad js skills :-) ). I'm thinking the same thing may be used for your other projects in medical imaging...

@EiffL This is extremely cool! When I have some time I will have a proper look and let you know my thoughts.