man antspotlight () - ant spotlight screenhack


antspotlight - ant spotlight screenhack


antspotlight [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay microseconds] [-fps]


The antspotlight code displays a single ant spotting out a screenshot.


antspotlight accepts the following options:

Draw on a newly-created window. This is the default.
Draw on the root window.
Install a private colormap for the window.
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
Display a running tally of how many frames per second are being rendered.
-delay microseconds
The delay specified by this option affects the speed of the animation (and the computation workload on the machine). You can use -delay 0 in conjunction with -fps, and this can be an interesting benchmark of your GL performance.


to get the default host and display number.
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.



Copyright © 2003 by Blair Tennessy. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.


Blair Tennessy <>, 20-July-2003.