Thank you very much Elaine !
Actually I've already looked at this page but without some examples it's a bit tricky to understand the proper syntax.
So, for example if I incorporate one of those commands in the context of my script, do I need to add WAIT after each , e.g.

coordset #1 1,1000,1
rock x 30 cycle 1000
wait 1000

Many thanks in advance

Enrico

Il giorno ven 26 apr 2024 alle ore 17:04 Elaine Meng <meng@cgl.ucsf.edu> ha scritto:
Yes. There are several movement commands "move" (translate), "roll" or "turn" (rotate), and "rock" (rotate back and forth) as well as "view" to save different views and gradually transition between them.  These all have "frame" options to do the motion over a specified number of image update frames and are commonly used in movie scripting.

See "making movies" and the list of related commands with links to their help pages, as well as various other movie script examples also linked to the page.
<https://rbvi.ucsf.edu/chimerax/docs/user/movies.html>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Resource for Biocomputing, Visualization, and Informatics
Department of Pharmaceutical Chemistry
University of California, San Francisco


> On Apr 26, 2024, at 6:08 AM, Enrico Martinez via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
>
> Dear Chimera-X users !
>
> I would like to add some cinematographic effects such as changing the camera angle back and forth during a short recording time of MD movies.  Could you suggest some scripting tricks that I could add to the following coordset routine:
>
> # start recording
> movie record size 3840,2160 supersample 1
>
> ## play movie from beginning to the end
> coordset #1 1,1000,1
> wait 1000
>
> etc
>
> Would it be possible to bend the camera automatically e.g. during the first 250 steps of recording ? Any other possibilities ?
>
> Yours with thanks
>
> Enrico