Skip to content

MD Trajectory Playback ​

Nanome plays molecular dynamics trajectories in Nanome Web and streams them to Nanome XR. The trajectory stays on Nanome's servers and streams to the headset as it plays, so a standalone headset needs no local copy of the files.

Trajectory playback in Nanome Web: an IRMOF-16 metal-organic framework supercell with a guest polymer.

Loading a trajectory ​

A frame trajectory attaches to a structure that's already loaded. In the Entries tab, the entry's (...) menu has Load trajectory.

An entry's More options menu, with Load trajectoryAn entry's More options menu, with Load trajectory
  • Every frame's atom count has to match the entry's.
  • An attached trajectory file can be up to 200 MB.
  • A .gro file can also be loaded on its own as a new entry.
  • Multi-model files, such as a multi-MODEL PDB or a multi-record SDF, play back the same way, stepping through each model in turn.

Supported formats and limits are on Supported File Formats.

Playing it back ​

While a trajectory is open, its entry row shows the current frame out of the total, with buttons to step and play. The play button opens the playback controls: Play backwards, play and pause, Play forwards, and speeds from ×1 to ×20. For a multi-model file, the row counts models instead. Exit playback at the top of the Entries tab leaves playback.

Stepping and playback wrap around. After the last frame comes the first, and stepping back from the first frame goes to the last, so playback keeps looping until it's stopped.

×1 plays 1 frame a second and ×20 plays 20.

1D3Z1/10

Playback is only visible by you and users following you

1D3Z, model 1 of 10, as Cartoon1D3Z, model 1 of 10, as Cartoon
Paused · model 1/10 At ×1, one pass through 1D3Z's 10 models takes 10 s, and a trajectory plays 1 frame a second. 1D3Z is an NMR ensemble of ubiquitin: 10 models that each fit the data, so the order isn't a time series. The C-terminal tail moves most.
  • One entry plays at a time.
  • Switching to another scene ends playback.
  • Removing the entry that's playing ends playback.

In Nanome XR, the same controls are on the entry's row in the Components tab. They're described under Model and trajectory playback.

Playback since release 2.7 Frame computing, what stays visible, and load speed.More detailLess detail
  • In Nanome XR, upcoming frames are computed in the background, so playback is smoother. Nanome Web computes each frame as it plays.
  • Interactions, annotations and residue labels stay visible and update as the frames advance. Surface changes are held during playback and apply about 2 seconds after the frames stop changing.
  • Trajectories load faster and use less storage and server memory.
How frames reach your browser Fetched ahead of the frame on screen.More detailLess detail

Nanome Web keeps a run of frames in memory and fetches more from Nanome's server ahead of the frame on screen, so a long trajectory doesn't have to download in full before it plays. If the next frame hasn't arrived yet, playback waits for it and then carries on. Jumping far ahead, for example when you start following someone at another point in the trajectory, loads frames around the new point.

Who sees playback ​

Playback doesn't change the scene. The frames play on your screen and for the people following you, and everyone else keeps seeing the frame saved in the scene. Exit playback puts your view, and your followers' views, back on that saved frame.

If you follow someone in Nanome XR while they play a trajectory, it plays in your browser too. Your view goes back to the scene's frame when they stop playback. Following is covered under Following from the web.

Several people on different devices, such as Quest 3, Vision Pro, phones and desktops, can watch the same trajectory together.

Video: MD Trajectory Playback ​

The v2.5 tutorial shows a live trajectory streamed from Nanome Web to a Quest 3.