HiveBoard Docs Search the docs… Ctrl K Get HiveBoard
Browse the help centre
  1. Help centre
  2. One job, opened

Saving a trajectory as a video

Save as video records a job's trajectory in your browser as an MP4 or WebM file, at the playback speed you chose, with the view you have set up.

2 min read HiveBoard 0.1.7 Updated

In short

  • In the Structure tab, More → Save as video records the trajectory from its first step to its last.
  • The video is made entirely in your browser from the geometry already on the page; nothing is sent anywhere.
  • It runs at the speed you chose, between 1.5 and 30 seconds long, at 30 frames per second.
  • The file is MP4 where the browser can record it, otherwise WebM; the comparison has its own Save as video for several jobs together.

Save as video turns the trajectory in the Structure tab into a video file you can keep or put in a talk. It is made entirely in your browser, from the geometry already on the page.

Saving one

  1. Open the job’s Structure tab. The structure needs more than one step: a trajectory or a NEB path.
  2. Set up the picture: turn and zoom it, choose the drawing style and the boundary treatment under View options.
  3. Choose the speed: 0.5×, 1×, 2× or 4×.
  4. Press More (the three dots at the end of the play bar), then Save as video.
  5. Wait while the button counts up: Recording 40%.

Playback pauses while it records. The browser then saves the file as job-419122-structure.mp4 (or .webm), and a message says Saved job-419122-structure.mp4.

What the video holds

  • The trajectory once, from the first step to the last.
  • The picture as you set it up: camera, drawing style, boundary treatment, periodic images.
  • Smooth motion as it is set: curved paths when on, straight lines between steps when off.
  • 30 frames per second, at the size the picture has on screen.

Its length is what playback would take at the chosen speed: 0.6 seconds per step at 1×, divided by the speed. It is never shorter than 1.5 seconds or longer than 30. For a trajectory of 23 steps:

SpeedLength
0.5×26.4 s
1×13.2 s
2×6.6 s
4×3.3 s

A trajectory that would take longer than 30 seconds is played faster to fit; the video still runs from the first step to the last.

MP4 or WebM

HiveBoard records an MP4 file where the browser can (Chrome, Edge and Safari), and otherwise WebM. In a browser that can record neither, Save as video is greyed out and says “Saving a video needs a recent Chrome, Edge, or Safari”.

Nothing leaves your computer

The frames are drawn from atoms the page already holds. Saving a video reads nothing more from the server, writes nothing on it, and sends nothing anywhere.

Several jobs in one video

The comparison has its own Save as video, on the shared play bar of its 3-D structures tab. It records every job playing together, laid out side by side in a grid, as one file named hiveboard-comparison- followed by the job numbers.

Check yourself

2 quick questions on this page. Nothing is sent anywhere.

  1. Where is the video made?

    • In your browser, from the geometry already on the page
    • On the cluster, which then sends the file
    • On hiveboard.dev
    • By HiveBoard's local server, from the job's files
    Show the answer

    In your browser, from the geometry already on the page Save as video records the 3-D picture in your browser; nothing is read again or sent anywhere.

  2. A trajectory of 23 steps is saved at 2×. How long is the video?

    • 6.6 seconds
    • 13.2 seconds
    • 30 seconds
    • 23 seconds
    Show the answer

    6.6 seconds Each step takes 0.6 seconds at 1×, so 22 step-to-step moves take 13.2 seconds at 1× and 6.6 seconds at 2×.

Try it in the app

On your own computer, with HiveBoard open. Tick them off as you go.

Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.

↑ ↓ to moveEnter to openEsc to close