Create a 3D WebGL ViewerΒΆ

A webgl viewer displays a 3D view of brain data in a web browser

import cortex

import numpy as np

# gather data Volume
volume = cortex.Volume.random(subject='S1', xfmname='fullhead')

# create viewer

# a port number will then be output, for example "Started server on port 39140"
# the viewer can then be accessed in a web browser, in this case at "localhost:39140"

Total running time of the script: ( 0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery