These are examples of how chemical objects expressed in XML languages such as CML (Chemical Markup Language) or SVG (Scalable Vector Graphics) can be rendered. The examples include transformations/bindings between CML and SVG.
Examples of SVG invoked using an <img> XHTML Element | |
---|---|
A Simple Chemical reaction
Scheme |
A More Complex Structural diagram |
This should show the CML logo in animated fashion!: |
A benzpyrene analogue with calculated charges (best viewed in IE5 - Netscape renders very slowly) [separate window]. Red circles are positive, blue negative, and the radiuse reflects the charge. All properties are rendered via the SVG DOM, which also works out the bonding. |
Another benzpyrene analogue | Caffeine and its spectra. [NW: infrared, SW: mass spectrum; SE: UV]. In IE5/6 you can run the mouse over the mas spectrum and it should announce the peak heights and positions in the top right panel. Unfortunately most interactive behaviour is still browser-dependent. |
A Phase diagram for Sulfur | A lecture slide, containing embedded raster
images |
The JUMBO-JS Method, which dynamically converts a CML file to SVG rendering primitives using JavaScript. You will need an XML-aware browser such as Internet Explorer (V6) to display this page. |