Builds and animates a three.js ball-and-stick scene for a parsed molecule.
This module statically imports three, so every consumer should reach it through a
dynamic import() — that keeps the WebGL renderer out of the initial popup bundle and
loads it only when a structure is actually going to be drawn.
Builds and animates a three.js ball-and-stick scene for a parsed molecule.
This module statically imports
three, so every consumer should reach it through a dynamicimport()— that keeps the WebGL renderer out of the initial popup bundle and loads it only when a structure is actually going to be drawn.