[ Representation Plane ] -> Het Structure -> Hide
Fragment is an important concept in Web3DMol.
A fragment is a segment of a chain in a molecule.
A fragment has its own representation mode, color mode, label area and label content.
So, you can add a fragment in [ Fragment Plane ], and customize the fragment in Fragment Dialog.
Using Fragment!
Set the fragment's color mode to User Defined, then set your favorite color.
[ Tools Plane ] -> Extra Structure -> Remove water molecules
The difference is about the cross section.
Cube's cross section is rectangle.
Strip's cross section is like a playground racetrack.
Ribbon's cross section is oval.
Railway's cross section is like a dumbbell.
Two ways:
(1) Using HTML's iframe tag;
(2) Including Web3DMol's library, and using JavaScript.
Using iframe tag is a really simple way, the most succinct URL may be https://web3dmol.net/?id=100d&widget=0.
Examples : Using JavaScript, Using iframe
[ Configuration Plane ] -> [ Color Category ] -> [ Element ] -> [ C ]
[ Configuration Plane ] -> [ Local Storage ] -> [ Save Config to Local Storage ]
The next time you initialize Web3DMol, the default configuration values will be replaced by your configuration values.
Clicking [ Clear Local Storage ] will clear your configuration values saved at Local Storage.
Clicking [ Recover Default Config ] will recover the default configuration values immediately.
Any question about Web3DMol, please contact