Overview
3Dmol.js is an object-oriented, WebGL-accelerated JavaScript library for online molecular visualization. It supports pdb, sdf, mol2, xyz, cif, cdjson, mmtf, prmtop, gro, pqr, cube and vasp formats, and provides sphere/stick, line, cartoon and surface styles, plus atom-property-based selection and styling, labels and interactivity.
The project is maintained at the University of Pittsburgh and released under BSD-3-Clause, allowing free use with acknowledgment. The reference paper is Bioinformatics 31(8) 1322 (2015).
Key Features
- WebGL-accelerated JavaScript molecular visualization library that can be embedded in web pages.
- Supports pdb, sdf, mol2, xyz, cif, cube, vasp and other formats.
- Provides sphere/stick, line, cartoon and surface styles with property-based selection, labels and interactivity.
Use Cases
- Embed 3D molecular structure visualization in web applications or pages.
- Use as a visualization component for proteins and small molecules within larger applications.
How to Use
Include 3dmol-min.js via <script> or integrate as a component. See https://3dmol.org/doc.
Sources and verification
This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.
Read the editorial and verification policy