BrainBrowser is a JavaScript library allowing for web-based, 2D and 3D visualization of neurological data. It consists of the Surface Viewer, a real-time 3D rendering tool for visualizing surface data, and the Volume Viewer, a slice-by-slice volumetric data analysis tool.
BrainBrowser uses open web-standard technologies such as HTML5, CSS, JavaScript and WebGL. The Surface Viewer uses three.js for 3D rendering.
Demonstrations of available functionality can be found at the BrainBrowser website.
To try out some BrainBrowser sample applications, simply clone this git repo, navigate to the examples directory, unzip the color maps and models, and launch the simple node example server:
$ git clone https://github.com/aces/brainbrowser.git
$ cd brainbrowser/examples
$ gunzip color-maps/*.gz models/*.gz
$ git checkout .
$ node server.js
Once the server is running, navigate to localhost:5000 in your browser and select either of the Surface Viewer or Volume Viewer sample applications.
The BrainBrowser Surface Viewer allows users to display and manipulate 3D surface data. The Surface Viewer is invoked by calling BrainBrowser.SurfaceViewer.start() with the id of the HTML element into which the viewer will be inserted, and a callback function to which a viewer object will be passed:
BrainBrowser.SurfaceViewer.start("viewer-div", function(viewer) {
// Manipulate viewer object here.
});
Full documentation of the Surface Viewer API can be found here.
Note that the BrainBrowser Surface Viewer requires three.js.
The BrainBrowser Volume Viewer allows users to display and manipulate volumetric data in a slice-by-slice manner. The Volume Viewer is invoked by calling BrainBrowser.VolumeViewer.start() with the id of the HTML element into which the viewer will be inserted, and a callback function to which a viewer object will be passed:
BrainBrowser.VolumeViewer.start("viewer-div", function(viewer) {
// Manipulate viewer object here.
});
Full documentation of the Volume Viewer API can be found here.
Please see the Contribution Guidelines.