Interactive molecular visualization with
MolstarViewer
and
EditorWithViewer
components
Using
MolstarViewer from
@molstar/molstar-components. This component
accepts MolViewSpec data as part of its `props` and will
update when that data changes.
Using
EditorWithViewer
from @molstar/molstar-components. This
component combined an Editor with the Viewer above. The
editor evaluate JS code to produce MolViewSpec data
which reactivly updated the Viewer.
Edit code and see live updates (500ms debounce)