WebMol.js is an object-oriented, webGL based JavaScript library for online molecular visualization - No Java required!
With WebMol.js, you can add beautifully rendered molecular visualizations to your web applications.
The quickest way to begin using WebMol.js is to simply link to the minimified source code in your application's HTML file.
For developers, you can also clone from source.
You can begin using WebMol.js right away by downloading the javascript source and embedding a viewer directly in an HTML div element:
{@lang xml}
<!DOCTYPE html>
<html>
<head> <script src="webmol-min.js"></script> </head>
<body>
<div id='webmoljs_viewer' data-pdb='2POR' data-backgroundcolor='0xffffff' data-style='{"stick":{}}'></div>
</body>
</html>
For a more detailed description of the data attributes and more examples check out the [embeddable viewer reference page]