[Chimera-users] Include "perframe" command as action in Animation panel?
goddard at sonic.net
Wed Dec 30 11:46:15 PST 2015
It would be nice to allow arbitrary commands to interpolate between key frames in the animation graphical user interface. A small issue is that the vertical line indicating the the current time can be moved to any position between key frames — with a command interpolation it would be tricky to allow the code to interpolate just part way. Also the commands usually specify the exact number of frames and if the key frames were moved to increase the time interval between two then the number of frames would need to be changed. Maybe the command could be specified with a special character to indicate where the frame count should be plugged in. I also like your idea of exporting the commands that will reproduce a movie. I’ve added feature requests for these things for ChimeraX.
> On Dec 22, 2015, at 10:20 AM, Oliver Clarke wrote:
> I really like the animation panel of chimera because it makes it incredibly easy to create a nice looking movie, but transitions are still a bit limited compared to what one can do in a script - e.g. smoothly transitioning from one contour level to another, moving along a chain and highlighting specific residues, etc.
> On the command line, it is easy to do this and a bunch of other iterative processes using the “perframe” command.
> Perhaps it might be worth considering inclusion (in ChimeraX presumably) of an equivalent of the “perframe" command as an action in the animation GUI (One could call it “Custom” or “Script” to avoid confusion), to enable mixing in code snippets into the animation GUI?
> It would only need to have a couple of parameters - the frame range, variable range, interval, and command to execute (with a checker to catch invalid syntax prior to execution).
> Alternatively/additionally, it would be nice to have the option to export the current animation setup as an editable script, to provide a starting point for a more complex movie, although I am not sure whether this is feasible given the way the animation tool incorporates scenes.
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
More information about the Chimera-users