Skip to content

feat(molecule): add Molecule Studio community plugin - #5

Merged
MemerGamer merged 2 commits into
mainfrom
feat/molecule
Nov 23, 2026
Merged

MemerGamer merged 2 commits into
mainfrom
feat/molecule

Conversation

@MemerGamer

@MemerGamer MemerGamer commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Molecule Studio draws SMILES structures and reactions as keyframeable vector clips. It uses chematic 1.2.3 for parsing and 2D layout and includes presets for water, benzene, caffeine, ethanol combustion, and other teaching examples.

Keyframe Progress to reveal bonds and atom labels. Reaction mode reveals the reactants, draws an arrow, and then reveals the products. CPK colors, solid and hashed stereobonds, highlights, numbering, and optional lone-pair dots support annotated diagrams.

The registry metadata is ready for the first release after merge. Usage, parameters, screenshots, and credits

Review fixes

  • Show heteroatom hydrogens by default and render charges as superscripts. Terminal labels face the bonded element, and atom numbers sit in the widest gap between bonds.
  • Keep reactants at 70% opacity once the products appear.
  • Report the atom and its valence when bonds and bracket hydrogens exceed the common valence limit.
  • Run the molecule smoke in CI with the SHA-256-pinned AniMathIO 2.3.0 release CLI. The README documents the cage layout and E/Z limits.

Verification

  • Passed 23 unit tests, one doc test, formatting, and Clippy with warnings denied for native and wasm32-wasip2.
  • Packaged the component with build.sh and passed the Molecule Studio and registry smoke checks on released AniMathIO 2.3.0.
  • Regenerated the screenshots and visually inspected glucose, aspirin synthesis, the combustion frames, both water views, numbered benzene, and charged labels.

Screenshots

Caffeine at 50% Caffeine at 100%
Caffeine structure halfway through the write-on Finished caffeine structure
Water with lone pairs Benzene with highlights Glucose with stereobonds
Water with two lone pairs on oxygen Benzene with numbered atoms and highlighted bonds Glucose with hydroxyl labels and wedge and dashed bonds

Finished ethanol combustion with visible reactants, carbon dioxide, and water

Aspirin synthesis with hydroxyl and carboxyl labels

🤖 Generated with Claude Code

MemerGamer and others added 2 commits November 23, 2026 05:14
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MemerGamer
MemerGamer merged commit 166f90e into main Nov 23, 2026
2 checks passed
@MemerGamer
MemerGamer deleted the feat/molecule branch November 23, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant