CrysViz widget — trajectory control

The 3D view is an embedded CrysViz widget. The controls below it live on this page and drive the trajectory over postMessage — no reloading, and the camera never re-orients.

— / —

Host → widget: {target:'crysviz-widget', type:'setFrame'|'play'|'pause'|'getState', …}. Widget → host: {source:'crysviz-widget', type:'awaitingSession'|'ready'|'frame'|'state', …}. The trajectory itself is posted in reply to awaitingSession (#load-message); add ?transport=hash to send it in the URL instead. See the CrysViz README “Widget mode / embedding”.