Molkit 0.39.0
Released November 10, 2026
A salt's crystal joins its drawings: a visual set can hold a Crystal view beside its Lewis and VSEPR views, on the canvas and in the widget. Electrostatic potential maps come from the script language and share one standard color scale, MO diagrams are kept with a molecule and open in the widget, and reactions can use common salts.
Drawings follow the IUPAC 2008 conventions more closely: carbonyls up, ring double bonds inside their rings in every view, charge signs above their atoms, and every view of a ring molecule turned the way its Lewis drawing is. Big documents are much faster to work in.
New Features
- Crystals in visual sets. A salt's set can hold its crystal as a Crystal view beside its other views: right-click a drawn salt, a metal or iodine and choose Derive View > Crystal Structure (its built-in crystal, matched by composition: NaCl gives rock salt), or in a script, crystal NaCl into: set "S". The crystal moves, arranges, copies and pastes with its set; Group as Visual Set takes a crystal; a crystal dropped into a set becomes its Crystal view; right-click > Remove Crystal from Set takes it out. Each is one undo step.
- On web pages, a salt's figure shows its crystal in 3D from every view, with the crystal's formula, cell and the COD authors' credit under it.
- esp: a drawn molecule's electrostatic potential map from the script language (esp water, with method: b3lyp-def2-svp, hf-3-21g or gfn2, relax:, charge:, unpaired:), on the calculation helper. With geometry: relaxed the relaxed shape becomes the molecule's 3D structure, so the map, the 3D view and the export share one shape. An anion's map uses the diffuse def2-SVPD basis, and the map's surface is the calculation's own 0.002 e/bohr^3 isodensity surface.
- A standard ESP color scale, the default in the app and the widget: plus or minus 250 kJ/mol for every neutral molecule and 1000, 1300 and 1600 kJ/mol for ions of charge 1, 2 and 3, so maps can be compared across molecules.
- MO diagrams kept with a molecule: mo O2 for: oxygen keeps the diagram's data (each atom's valence orbitals, the MOs with their electrons, bond order, magnetism) with the drawing, and on web pages the widget's MO diagram view draws it.
- Reactions with salts: 16 common salts are built in (NaOH, NaCl, KCl, CaCl2, NH4Cl and more), and a reaction draws a salt's ions side by side, as draw does. A salt can be drawn into a set.
- More built-in species: the electron-deficient molecules a Lewis course draws (BF3, BeCl2 and others), propane, butane and cyanide.
- Script: charge: both draws an ion with its bracket and each atom's formal charge; arrange set "S" as: views lays a set out as a figure (its views in a row, resonance forms in rows with their arrows, each form's other views under it).
- Bracket Padding: Properties > Bracket > Padding adds or takes away the same room on all four sides of a bracket, live, in one undo step.
- Widget: a Formal charges checkbox shows or hides formal charges (a neutral molecule's C- and O+) while an ion's charge stays.
- Structure > Display > Clear Bond Colors clears each bond's own color, so bonds follow the color scheme again.
- Resize a molecule by its corners with the aspect locked (cubane and prismane could not be resized), and a ring bond's Bond Length now scales its ring system.
- Paste a SMILES (or an InChI, looked up on PubChem) to draw it as a structure.
- Calculated results say what they are. IR spectra read "Predicted IR spectrum" with their measured accuracy (typically within 7% of measured gas-phase band positions, from a benchmark against 67 NIST bands) and a "How close is this?" note; a 3D shape names what made it (Ideal VSEPR shape, or GFN2-xTB optimized geometry); an energy scan names the program that ran it. In the app and the widget.
- IR spectra for radicals and xenon compounds, and clearer band names for resonance structures (nitrate's N-O stretches).
Improvements
- C=O points up everywhere, a formyl's too (formic acid, formamide, acetaldehyde in bondline), as IUPAC 2008 GR-3.2.2 prefers.
- Double bonds: in a ring, the second line is inside the ring and shorter, in the Lewis and condensed views as in bondline; a bond shared by two rings leans into the ring with more double bonds; a terminal double bond at a corner (an aldehyde's C=O) is offset inside the bend; bonds stop clear of the whole label of a CH.
- Charge signs go above an atom before a lower corner (a minus at the lower right read as a subscript), and stay clear of neighboring atoms' lone pairs.
- Lone pairs: two pairs on an atom with two bonds sit opposite the bonds; in square Lewis drawings every pair is on a free compass point; a lone pair and an odd electron on one atom (nitric oxide's N) sit at the compass points.
- Every view of a ring molecule faces the way its Lewis drawing does: a VSEPR ring sits square with the Lewis ring, and a condensed ring keeps each substituent on its side.
- Fused ring systems are drawn in IUPAC's preferred orientation (naphthalene and anthracene level, steroids with their row of three rings), when drawn and in condensed views.
- A one-atom species drawn in bondline is written with its hydrogens and its charge after it: NH4+, H2O, CH4, OH-, H3O+ (ammonium read N+). An atom placed by hand still reads as itself.
- A salt's formula counts every ion: {calcium-chloride.formula} is CaCl2, also in explain, compare and the AI's reading of the page.
- Fischer projections: a ring sugar is opened to its chain, and a ketose such as fructose is drawn the right way up.
- A new 3D view opens tilted just enough that no heavy atom hides behind another (PCl5 showed four of its five F).
- 3D colors: the 3D window, 3D view objects and the widget use the same Jmol colors as the canvas. In the CPK scheme on the canvas, H is gray and S a darker yellow, so neither disappears on a white page.
- Page Setup: switching from the infinite canvas to pages or slides centers page 1 on the drawing.
- Macrocycles that contain a heteroatom or are fused to another ring (porphine, crown ethers) are laid out evenly, and a trans double bond in a small ring gets its E or Z label.
- Animations: a mechanism step is matched by its curved arrows (acyl addition and aldol no longer swap atoms); a bracket morphs only into the bracket round the same ion; next-step notes when a new bond would run over another atom.
- Visual sets: each view label is centered over its view, and a set opens on the view chosen for it.
- Big documents are much faster. On a 3,340-atom file with a crystal: opening 8.9 to 3.3 s, dragging an atom 10.5 to 1.8 s, clicking a bond 2.8 to 1.6 s, drawing a bond 3.7 to 1.7 s, three undos 7.6 to 4.2 s. A window resize or an opening panel redraws only what the size changes.
- 3D view editor: Done (or Esc) closes the 3D window when the edit opened it, the window opens to the left of the side panels, and a crystal's 3D look is kept when its labels are turned off.
- Widget: an ESP map is offered from every view of its molecule, 3D follows the view it is opened from, and a crystal's 3D picture is described to screen readers.
- Practice editor: at phone width the feedback panel takes at most 28% of the height, and the atom a finding points at is brought into view.
- Screen readers: Ctrl+Z and Ctrl+Y are announced as Undone and Redone, and the window has landmarks and a top-level heading.
- Templates are rebuilt with the current drawing rules, and a template's R is placed as a generic R.
- A group button (OH, COOH, Et, Ph) clicked on an atom with two or more bonds attaches the group as a new substituent.
- The Ring tool always draws carbon rings, whatever element is chosen; heteroatom rings come from the templates.
- Crossing gaps: every bond takes the clipped IUPAC cut, and the per-end gap length sliders are gone.
- Crystals: a counting key names places hidden behind a nearer atom, a powder pattern peak at the end of its range keeps its label, a bond seen end-on is not drawn, a crystal's 3D view and molecule are placed clear of the drawing, and COD searches find a mineral by any of its names ("table salt").
- The status bar's left text is shortened with an ellipsis instead of running into the center, and its Preset and Scheme menus open above the script panel.
- Presentation mode is hidden for now.
Bug Fixes
- Fixed a crystal's hidden hydrogens showing after save and reopen (sal ammoniac's NH4+).
- Fixed a salt drawn with a count (calcium chloride) reading as one chloride.
- Fixed drawing an unusual cation from SMILES inventing a C2+ and a triple bond.
- Fixed the script recorder replaying a hand-drawn minor resonance form as the major one, and a hand-drawn charge on an atom.
- Fixed an opened file cutting off its animation boxes.
- Fixed the IR window showing hidden parts over its chart, and a relaxed structure left on a saddle point.
- Fixed a list in a text box sizing the box wrongly, and E and Z labels sitting on a double bond's second line.
- Fixed Layers panel badges hiding one another.
- Fixed the bond Color row hiding under element colors.
- Fixed SVG exports on a dark page keeping a shape's light ink.
- Fixed 3D embedding failing for molecules drawn far from the origin.
- Fixed the first carbon of a chain drawn by click-then-drag reading H3C.
- Script messages: an object named by its formula is found, a quoted { gives a way to write a brace, and option examples name their own option.
- Fixed the practice editor's build.