Home › Resources & tools › JSmol

JSmol

JSmol is a JavaScript library for displaying three-dimensional chemical structures. It uses HTML5 features to render interactive 3D models and supports the same scripting language as Jmol.

Using JSmol

const appletKey = 'myJmol'
const JmolInfo = {
    width: 500,
    height: 500,
    color: 'BACKGROUND_COLOR',
    j2sPath: 'PATH_TO_J2S',
    serverURL: 'PATH_TO_JSMOL_PHP',
    use: 'html5'
}
const appletHtml = window.Jmol.getAppletHtml(appletKey, JmolInfo)
document.body.innerHTML += appletHtml
window.Jmol.script(window[appletKey], 'load PATH_TO_STRUCTURE')
window.Jmol.script(window[appletKey], 'background red')

See also

Leskoff al·pha·bet Poster image
al·pha·bet Poster
$14.99

A poster featuring the word "al·pha·bet".

Leskoff эхо IPA Transcription Poster image
эхо IPA Transcription Poster
$14.99

A poster featuring the phonetic transcription of "эхо" in the International Phonetic Alphabet (IPA).

Leskoff Electroglottograph image
In development
Electroglottograph

Measure vocal fold contact area and contact duration during speech production.

Leskoff марсоход Morphemic Analysis Poster image
марсоход Morphemic Analysis Poster
$14.99

A poster featuring the morphemic analysis of the Russian word марсоход.

Leskoff Ethane Molecule Poster image
Ethane Molecule Poster, Ball-and-Stick Model, English-Labeled
$19.99

A poster featuring the ball-and-stick model of the ethane molecule.

Awesome cheminformatics blogs

A curated list of awesome cheminformatics blogs.

Awesome cheminformatics

A curated list of awesome cheminformatics resources.

Cheminformatics Crossword

A daily crossword puzzle for cheminformatics terms.

Cheminformatics pronunciation guide

A pronunciation guide for cheminformatics terms.

SMILES to Structure API

A web service for converting SMILES (simplified molecular-input line-entry system) to MOL.

All prices listed are in United States Dollars (USD). Visual representations of products are intended for illustrative purposes. Actual products may exhibit variations in color, texture, or other characteristics inherent to the manufacturing process. The products' design and underlying technology are protected by applicable intellectual property laws. Unauthorized reproduction or distribution is prohibited.