Skip to content

neuroimjsNeuroimaging for JavaScript

Volumetric data, NIfTI I/O, spatial transforms, and live WebGL brain viewers — in the browser and in Node.

Loading brain volume…

See it run ​

Everything below is a real neuroimjs viewer rendering the MNI152 template with a statistical overlay. Nothing here is a screenshot or a video. Click or drag to move the crosshair, scroll to change slices (Ctrl/⌘-scroll zooms), and use the panel on the right to change the overlay's colormap, range, threshold and opacity.

Loading brain volume…

MNI — mmT1w —z —Synthetic z-map (illustrative) on the MNI152 template.

The layout is one SimpleOrthogonalViewer, and the side panel is the library's <layer-control-panel> web component bound to the same VolStack. See the full source →

Pre-1.0 — and actively hardening

neuroimjs is at 0.6.0. The viewer stack, core data structures, NIfTI reading, geometry, processing, and analysis primitives are covered by a green test suite, and NIfTI reading is checked against nibabel-generated fixtures. Some paths still have confirmed bugs or limitations (NIfTI transform selection in a few edge cases, hypervector reductions, a few processing edge cases), and 4D writing is still experimental; the Stability matrix lists the verified status of every feature, so you know what is safe to build on.

Released under the MIT License.