Reading and parsing of a NIfTI file (structural MRI) with PixpipeJS, and conversion into a native WebGL2 3D texture with BabylonJS. The volume is then displayed in subject coordinates (MNI space) using the MRI's affine transformation matrix and a custom GLSL shader. Units: positions in mm and rotation in radian.
Data has been defaced for anonymity. Courtesy of Montreal Neurological Hospital
By @jonathanlurie for MCIN lab. Source code available on Github.