documentation indexreference manualfunction index

define.move_transitions

Function: define.move_transitions (prefix, delay, time_warp=None, in_time_warp=None, out_time_warp=None, layers=['master'], **kwargs):

This defines a family of move transitions, similar to the move and ease transitions. For a given prefix, this defines the transitions:

time_warp, in_time_warp, out_time_warp - The time_warp argument supplied to Move for images remaining on the screen, newly shown images, and newly hidden images (respectively).

old - Causes the transitions to move the old displayables, rather than the new ones.

layers - The layers the transition will apply to.

Additional keyword arguments are passed (indirectly) to the moves. The most useful additional keyword argument is probably subpixel=True, which causes a subpixel move to be used.

Example

init:
    $ define.move_transitions('realslowmove', 5.0, subpixel=True)

start:
    show eileen happy
    with realslowmoveinright



documentation indexreference manualfunction index