Screencast: Drawing Structures Quickly With ChemWriter
This short video shows how to use ChemWriter to draw structures quickly with keyboard shortcuts.
Better Structure Drawing With ChemWriter 1.3.0
ChemWriter 1.3.0 has been released and is ready for download. This version makes it possible to change the mouse cursor hover radius for more accurate drawing. It also adds a setting to disable heteroatom keyboard shortcut events occurring away from a molecule node, reducing the possibility of an off-atom label being inadvertently drawn.
For details, see the Metamolecular Company Blog.
ChemWriter Now Available for Download
A 2D chemical structure editor is a key component in most cheminformatics systems. With an ever-increasing number of groups using the Web as a cheminformatics platform, the need for a structure editor built specifically around the capabilities and constraints of the Web becomes more apparent.
For the last several months, my company (Metamolecular, LLC) has been developing a 2D structure editor called ChemWriter(TM). It was created specifically to solve the problem of building interactive, chemically-enabled Web applications that look good and load fast.
You can now download a free, fully-functional, non-expiring copy of ChemWriter (the ChemWriter Starter Package) good for development and testing of your chemically-aware Web application. The Metamolecular Company Blog has the details.
ChemWriter, Chemical Structures, and the Web 2

Of all the components that make up today's cheminformatics systems, the 2D structure editor may be the most widely-used. A 2D structure editor is often a chemist's first and most enduring exposure to cheminformatics, and can be encountered as early as Junior High or High School.
Over time, a good 2D structure editor becomes every bit as important to a chemist as a text editor is to a writer or software developer. At any given ACS organic division symposium, you're likely to find several bench chemists who only casually, if ever, use a 3D molecular modelling program; finding any who don't regularly use a 2D structure editor would be much more challenging.
2D structure editors are ubiquitous. They can be found in one form or another in most cheminformatics systems, ranging from databases, to standalone applications, to property calculators, and even 3D molecular modelling programs.
Despite the importance of structure editors, they don't get much attention among cheminformatics developers. For example, if your bibliography is anything like mine, it contains dozens of papers on molecular descriptors. Yet the number of cheminformatics papers describing the design of ergonomic chemical structure editors is, well, one or maybe two.
About ChemWriter
ChemWriter™ is a new product aimed at making 2D chemical structure editors a lot more interesting, easy to use, and versatile than they have been in the past. Designed specifically as a lightweight, extendable component, ChemWriter is ideal for use in chemically-enabled Web applications.
The second beta version of ChemWriter has recently been released by my company, Metamolecular, LLC. A recent article on the Metamolecular company blog discusses ChemWriter in more detail.
The Structure Editor In-Depth
Because the design and use of 2D chemical structure editors is an unusual subject in cheminformatics, a compilation of articles on the topic from Depth-First and the Metamolecular Web site is provided below. Many of these articles refer to "Firefly", which was ChemWriter's name during early development.
Why the Structure Editor Matters
The Structure Editor: (Forgotten) Link Between Chemistry and Cheminformatics Title says it all.
Four Free 2-D Structure Editors for Web Applications An early look with example code.
Waldorf Salad Why aesthetics matter in chemistry.
Creating ChemWriter
A 2D Chemical Structure Editor for the Web: Embracing Constraints in Firefly Creating remarkable products depends on identifying and embracing constraints.
A Chemical Structure Editor for the Web: Four Screenshots of a Firefly Prototype Some screenshots of an early ChemWriter prototype.
A Chemical Structure Editor for the Web: Firefly's Two Audiences A good structure editor needs to delight both developers and end users.
Using ChemWriter
Open Notebook Science Using InChIMatic ChemWriter in action.
Googling for Molecules with InChIMatic and Firefly One application of InChI using ChemWriter.
Top Ten Best-Selling Drugs Worldwide (2006) - Depth-First Structures courtesy of an early development version of ChemWriter Desktop.
Top Ten Best-Selling Drugs Worldwide With Structures 2006 - Metamolecular ChemWriter can also be used to dynamically render resizable 2D chemical structures in Web pages.
ChemWriter and the Java Deployment Toolkit A simplified method for cross-browser applet deployment using ChemWriter.
Transferring Molecules With ChemWriter Demonstrates how JavaScript can be used to move molecular information into and out of ChemWriter.
Extending ChemWriter
Building a Molecule Preview with Firefly: The Joy of Swing Shows one use for ChemWriter as a Swing GUI component.
Making Your 2D Structures Look Good: Firefly, Styles and Stylesheets Every aspect of ChemWriter's rendering can be customized, as is shown with this early development version of ChemWriter Desktop.
Never Draw the Same Molecule Twice: Viewing Image Metadata Embedding 2D structure information as a molfile in PNG images.
Editable and Searchable 2D Molecular Images Metadata applied in a novel way using a development version of ChemWriter Desktop.
Googling for Molecules with InChIMatic and Firefly

A series of D-F articles have discussed InChIMatic, a Web application that lets you structure-search the Web using popular search engines such as Google. Recent articles have also described Firefly, a lightweight 2D structure editor designed especially for the Web.
Today, the first alpha release of Firefly is available for use with InChIMatic.
Despite its small size of only 103K, the Firefly applet offers a number of advanced features:
A clean interface with major functionality in plain sight.
Antialiased rendering. Pressing the "+" and "-" keys will zoom in and out to reveal rendering detail.
User-overridable bond length and angle constraints. When dragging a bond, use Shift to relax both angle and length constraints, or Ctrl to relax only angle constraints.
Automatic inside-outside double bond rendering.
Built-in molfile import/export. Use the File->Import Molfile and File->Export Molfile options to copy/paste a molfile from your system clipboard.
Automatic implicit hydrogen detection. The quadrant for hydrogen placement is chosen based on the bonds surrounding the atom.
Twenty levels of undo/redo. The commands can either be issued from the menu, or Ctrl-Z/Ctrl-Y.
Persistent molecule. When you visit another page and come back, Firefly remembers the molecule you were working on.
No digital certificate authorization. Just start using it.
Firefly also incorporates a number of keyboard shortcuts to speed up structure drawing:
1-9 keys Builds a chain with the indicated number of carbons.
a key Phenyl (aromatic) ring. When hovering over a bond, fuses the ring to the bond. When hovering over an atom, fuses the ring to that atom, if possible, or sprouts the ring.
f, l, r, i keys The elements F, Cl, Br, and I, respectively.
z and t keys The elements Si and Sn, respectively
b, c, n, o, s, and p keys The elements B, C, N, O, S, and P, respectively.
[delete] and [backspace] keys deletes whatever is underneath the cursor.
To use these shortcuts, simply hover the cursor over an atom and press the key on your keyboard.
Being an alpha release, this version of Firefly still has room for improvement. Your feedback is important. Please send questions, comments, and suggestions to the email address found under Firefly's "Help" menu.

