Cargando…

CH5M3D: an HTML5 program for creating 3D molecular structures

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 cre...

Descripción completa

Detalles Bibliográficos
Autor principal: Earley, Clarke W
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2013
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4177146/
https://www.ncbi.nlm.nih.gov/pubmed/24246004
http://dx.doi.org/10.1186/1758-2946-5-46
_version_ 1782336729121816576
author Earley, Clarke W
author_facet Earley, Clarke W
author_sort Earley, Clarke W
collection PubMed
description 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/.
format Online
Article
Text
id pubmed-4177146
institution National Center for Biotechnology Information
language English
publishDate 2013
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-41771462014-09-28 CH5M3D: an HTML5 program for creating 3D molecular structures Earley, Clarke W J Cheminform Software 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/. BioMed Central 2013-11-18 /pmc/articles/PMC4177146/ /pubmed/24246004 http://dx.doi.org/10.1186/1758-2946-5-46 Text en Copyright © 2013 Earley; licensee Chemistry Central Ltd. http://creativecommons.org/licenses/by/2.0 This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Software
Earley, Clarke W
CH5M3D: an HTML5 program for creating 3D molecular structures
title CH5M3D: an HTML5 program for creating 3D molecular structures
title_full CH5M3D: an HTML5 program for creating 3D molecular structures
title_fullStr CH5M3D: an HTML5 program for creating 3D molecular structures
title_full_unstemmed CH5M3D: an HTML5 program for creating 3D molecular structures
title_short CH5M3D: an HTML5 program for creating 3D molecular structures
title_sort ch5m3d: an html5 program for creating 3d molecular structures
topic Software
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4177146/
https://www.ncbi.nlm.nih.gov/pubmed/24246004
http://dx.doi.org/10.1186/1758-2946-5-46
work_keys_str_mv AT earleyclarkew ch5m3danhtml5programforcreating3dmolecularstructures