Why molecular animations change—and how to keep them on track

You have framed a molecule, set up a camera move, and arranged a sequence of effects. Then you click through frames—or make a change elsewhere in the document—and the camera or a model no longer appears as expected. This can be a frustrating surprise when preparing a scientific presentation: the animation depends not only on what happens, but also on the state of the scene at each point in the timeline.

A useful way to make an animation more predictable is to explicitly define important states. In SAMSON, presentations are built from animation nodes in the Animator. Each animation appears as a track, with keyframes marking events or the beginning and end of an effect. You can preview frames directly in the Animator, adjust timing, and arrange animations in the document view.

Choosing a frame to preview in the Animator

Make motion explicit

Motion animations can change the positions of structural nodes. If a structure should stay in place during parts of the presentation, the documentation recommends considering a Hold atoms animation at frames where no other motion animation is used. This can help preserve the intended positions when you switch between frames or continue working with the document.

The same principle applies to the view. Camera positions can change as you work, so a presentation that relies on an unrecorded viewport view may not keep the framing you intended. Use a camera animation at relevant frames to define the view. If you need a static shot rather than a camera move, Hold camera can specify a fixed camera position.

For more involved camera paths, animations such as Move camera and Orbit camera have controllers in the viewport. These let you adjust camera positions and orientations at keyframes. When editing them, the viewport can show thumbnails for the keyframe being modified and nearby keyframes, which helps you compare the framing across the shot.

Adjusting camera animation keyframes and comparing framing

Define what the audience should see

Visibility and transparency are also part of the presentation’s state. Effects such as Appear and Disappear can make eligible nodes progressively appear or disappear. Show and Hide change visibility at a frame. The documentation advises explicitly specifying which nodes should be shown or hidden at frames where no other entrance, exit, or highlighting effect applies to them, when needed. This can help keep their visibility consistent as you edit or move through the presentation.

These explicit states are especially useful in a scientific story: for example, you might first show the whole structure, then focus attention on a component, and finally change the camera view. The goal is not to add an effect to every frame, but to make the important transitions and resting states clear.

Check timing and order before exporting

Preview the presentation by moving through frames in the Animator’s Track view. If an effect starts too early or lasts too long, select its keyframes and move them along the track. Animation order matters too: animations are applied according to their order in the presentation. If multiple camera animations occur at the same frame, they are applied consecutively, and the last one determines the camera state. You can change animation order by dragging items in the document view.

Once the sequence looks right, use the Animator’s Save movie button and choose a supported format such as MP4, GIF, or WebM. Before exporting, check the beginning and end of the presentation and any transitions where the camera, molecular positions, or visibility change. That quick review can reveal state changes that are easy to miss while editing one effect at a time.

For the full workflow and more animation examples, see the SAMSON guide to presenting and animating.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.