Related Experiment Video
Updated: May 5, 2026

Modeling an Enzyme Active Site using Molecular Visualization Freeware
Published on: December 25, 2021
CH5M3D: an HTML5 program for creating 3D molecular structures
1Department of Chemistry, Kent State University at Stark, 6000 Frank Ave, NW, North Canton, OH 44720, USA. cearley@kent.edu.
Background:
While a number of programs and web-based applications are available for the interactive display of 3-dimensional molecular structures, few of these provide the ability to edit these structures. For this reason, we have developed a library written in JavaScript to allow for the simple creation of web-based applications that should run on any browser capable of rendering HTML5 web pages. While our primary interest in developing this application was for educational use, it may also prove useful to researchers who want a light-weight application for viewing and editing small molecular structures.
Results:
Molecular compounds are drawn on the HTML5 Canvas element, with the JavaScript code making use of standard techniques to allow display of three-dimensional structures on a two-dimensional canvas. Information about the structure (bond lengths, bond angles, and dihedral angles) can be obtained using a mouse or other pointing device. Both atoms and bonds can be added or deleted, and rotation about bonds is allowed. Routines are provided to read structures either from the web server or from the user's computer, and creation of galleries of structures can be accomplished with only a few lines of code. Documentation and examples are provided to demonstrate how users can access all of the molecular information for creation of web pages with more advanced features.
Conclusions:
A light-weight (≈ 75 kb) JavaScript library has been made available that allows for the simple creation of web pages containing interactive 3-dimensional molecular structures. Although this library is designed to create web pages, a web server is not required. Installation on a web server is straightforward and does not require any server-side modules or special permissions. The ch5m3d.js library has been released under the GNU GPL version 3 open-source license and is available from http://sourceforge.net/projects/ch5m3d/.
Related Concept Videos
Molecular Models
Predicting Molecular Geometry
Molecular Shapes
Two regions of electron density in a diatomic...
Molecular Geometry and Dipole Moments
Hückel's Rule Diagram of π MOs: Frost Circle
A Frost circle is constructed by drawing a polygon whose number of edges is equal to the number of carbons of the given cyclic system, with one of the vertices pointing down. Then, a circle is drawn enclosing the polygon so...
Molecular Structure and Acidity
The size effect explains the change in atomic size on acidity. When comparing the acids formed from elements that belong to the same column in the periodic table, their atomic sizes...

