Runs everywhere you work
Jupyter widget
pip install meganeInteractive widget inside Jupyter notebooks. Build pipelines in Python, display structures inline.
Jupyter widget →React component
npm install megane-viewerDrop <PipelineViewer /> into any React app. Build pipelines with the TypeScript builder API.
React component →Standalone web app
megane serve protein.pdbServe a local structure file and view it instantly in the browser — or drag in any supported format. No code needed.
Standalone web app →VS Code extension
Install from MarketplaceOpen .pdb, .gro, .xyz, .mol, .cif and every other supported structure format directly in VS Code with the Megane extension.
VS Code extension →Built for real atomistic data
1M+ atoms at 60fps
Billboard impostor rendering draws every atom as a shaded quad in a single instanced draw call — from small molecules to massive complexes. megane serve streams multi-GB XTC trajectories over WebSocket without loading them into memory.
One Rust core, every host
PDB, GRO, XYZ, MOL/SDF, MOL2, CIF, LAMMPS data and dump, VASP, Molden, XCrySDen, CML, XTC, ASE .traj and more are parsed in Rust, compiled to both PyO3 and WASM. Parse once, run anywhere — Jupyter, browser, React, VS Code, JupyterLab.
Visual pipeline editor
Wire 24 node types across 6 categories to load, filter, style and overlay — no code required, or describe what you want and let the AI pipeline generator build it. 10 typed data channels flow through color-coded edges; only matching types connect. Pipelines serialize to JSON to save and share.
Embed & integrate
Control the viewer from Plotly via ipywidgets events, embed in MDX / Next.js docs, and react to frame_change, selection_change and measurement events. MoleculeRenderer is a plain Three.js class — mount it in Vue, Svelte, or vanilla JS.