fbanim — animate small images on framebuffer using hardware pan and zoom
fbanim [-irv ] [ -S
squaresize ] [ -W
width ] [ -N
height ] [ -s
squaresize ] [ -w
width ] [ -n
height ] [-p
fbanim assumes that the current framebuffer (determined by environment variable FB_FILE) contains a collection of small square images tiled together by pixtile(1). This permits a limited sequence of low resolution images to be viewed at various speeds, to create the sensation of motion, or to highlight the differences between the frames. The typical use of this program is to animate sequences of 64x64 or 128x128 tiles generated by animation studies. It can also be used to create blink comparisons between a small number of large images.
The width of each tile is specified by the width argument, and the number of tiles is specified by the nframes argument. The optional fps argument specifies the number of frames (tiles) per second to be displayed. 24 fps is the standard movie rate, 30 the standard video rate. Slower rates may also be used. The default is 8 frames/second.
By default, the framebuffer is assumed to be
loaded with a 512x512 pixel image.
flags can be used in the normal way to specify the size of
the screen (see
By default, the sequence of tiles is considered to be a circular (repeating)
sequence, i.e., the first tile immediately follows the last one.
If this is not the case, the
flag will cause the sequence to rock from beginning to end to beginning,
which is sometimes more pleasing.
flag will cause the frame number and
center coordinates of each frame to be printed
as they are passed to fb_window(), for debugging purposes.
By default, the
program repeats for 100 passes. When creating demonstration scripts,
it may be desirable to specify the number of passes through the animation.
option is used to indicate this.
For compatibility with old animation images which were generated by
fourth-quadrant programs, where the first image starts in the upper left
corner of the screen rather than the lower left corner, the
flag is used to indicate this inverse order.
This software is Copyright (c) 1989-2016 by the United States Government as represented by U.S. Army Research Laboratory.