🧠 Click a .tck file → see it in 3D. Just like NIfTI viewers, but for tractography.
- One-click viewing — Open any
.tckfile from the VS Code file explorer - Interactive 3D — Rotate, zoom, and pan with orbit controls (Three.js)
- Directional RGB coloring — Red = Left-Right, Green = Anterior-Posterior, Blue = Superior-Inferior
- Multiple color modes — Directional, length-based (viridis colormap), or uniform
- Preset views — Superior, Anterior, Left, Right, Reset
- Adjustable line width — Real-time slider
- Performance — Handles hundreds of thousands of streamlines via subsampling
- HUD — File name, streamline count, FPS counter
- Configurable — Max streamlines, default color mode, background color, line width via VS Code settings
- Open a folder containing
.tckfiles in VS Code - Click on any
.tckfile in the Explorer - The 3D viewer opens automatically
Or use the command palette: TCK Viewer: Open TCK File
| Action | Mouse |
|---|---|
| Rotate | Left-click + drag |
| Pan | Right-click + drag |
| Zoom | Scroll wheel |
- Color mode: Directional / Length / Uniform
- Views: S (superior), A (anterior), L (left), R (right), ⟲ (reset)
- Line width: Adjustable slider
| Setting | Default | Description |
|---|---|---|
tckViewer.maxStreamlines |
50000 | Max streamlines to display |
tckViewer.colorMode |
directional | Default color mode |
tckViewer.backgroundColor |
#1a1a2e | Viewer background color |
tckViewer.lineWidth |
1.5 | Default line width |
- MRtrix3
.tck— Standard tractography format from MRtrix3, produced bytckgen
- VS Code ≥ 1.80.0
- No external dependencies needed at runtime
MIT