From: Vermaas, Joshua (
Date: Thu May 17 2018 - 12:14:24 CDT

Hi Hieu,

It totally supports more than one frame. Use the "animate" command. Using the "writeX" variant always only writes the exact frame that the selection refers to at that time. Also, the js format isn't secret, however what documentation exists is pretty much the source itself. If you download a source distribution of VMD, it'll be in plugins/molfile/src.


On 2018-05-16 20:19:59-06:00 wrote:


I am using VMD to visualize 3D data from 3D camera.
I am currently transforming PCD format (a common point cloud format from Point Cloud Library) to .xyz file

The only problem is the xyz file is in ascii and is quite large : 2GB for a 320x240 image size and 1400 frames

I saw that there is a binary format file .js but I cannot find the format description anywhere ? If it is not proprietary format, would you be able to publish the format/description ?

After loading my xyz file containing 14000 frames, I tried to generate the js file from vmd using :

  set sel [atomselect top all]
  $sel writejs allFrame.js
  $sel delete

But the output js file only contain 1 frame. Is it normal ? Does the js format support more than 1 frames ?