Gist 4cf3c4c310294014302aa98c31600f32
✓ Published0🌍 Public
Aakeshavan
Last edited Mar 27, 2017
Created on Mar 27, 2017
This example displays a cortical surface mesh from a VTK file using pythreejs, a Jupyter widget library that wraps Three.js. It shows the brain’s left hemisphere pial surface colored by travel depth values, read with `read_vtk` from mindboggle.mio. The code builds a `FaceGeometry` from vertex and face arrays, applies a `LambertMaterial`, and renders the mesh in a `Scene` with `AmbientLight` and a `PerspectiveCamera`. Users can rotate the model interactively via `OrbitControls`.
AI-generated description