Jmol resource type
From MoodleDocs
Jmol is open-source Java software for interactive 3D viewing of molecular structures. It can easily be embedded into a webpage... including a Moodle page.
The Moodle Jmol resource module extension is easy to install. It requires no additional capability on your web server, but is a Java applet, added to the page with JavaScript controls, so requires both Java and a JavaScript-enabled browser for the user.
For ultimate flexibility you may also wish to install the Jmol filter.