Skip to content

Saving a trajectory as a gif file #1158

@sunerawijeratne

Description

@sunerawijeratne

Hello,

So, I have a trajectory of a MD simulation, that I have visualized using the nglview.show_MDAnalysis method after providing the relevant PSF and DCD files. I have also coloured the trajectory to my liking before visualization and now wish to save this coloured trajectory as a .gif file. I did try using the MovieMaker class as was suggested in the GitHub page, but that did not create anything although the code rand without any errors. Is there any easier way to save a trajectory as a .gif using nglview? I can provide my code if required.

Oh, I should also point out that I'm using nglview on VSCode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions