+
+
+
+XScreenSaver(1) XScreenSaver(1)
+
+
+N\bNA\bAM\bME\bE
+ blitspin - rotate a bitmap in an interesting way
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+ b\bbl\bli\bit\bts\bsp\bpi\bin\bn [-display _\bh_\bo_\bs_\bt_\b:_\bd_\bi_\bs_\bp_\bl_\ba_\by_\b._\bs_\bc_\br_\be_\be_\bn] [-foreground
+ _\bc_\bo_\bl_\bo_\br] [-background _\bc_\bo_\bl_\bo_\br] [-window] [-root] [-mono]
+ [-install] [-visual _\bv_\bi_\bs_\bu_\ba_\bl] [-bitmap _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be] [-delay
+ _\bu_\bs_\be_\bc_\bs] [-delay2 _\bu_\bs_\be_\bc_\bs]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ The _\bb_\bl_\bi_\bt_\bs_\bp_\bi_\bn program repeatedly rotates a bitmap by 90
+ degrees by using logical operations: the bitmap is divided
+ into quadrants, and the quadrants are shifted clockwise.
+ Then the same thing is done again with progressively
+ smaller quadrants, except that all sub-quadrants of a
+ given size are rotated in parallel. So this takes
+ O\bO(\b(1\b16\b6*\b*l\blo\bog\bg2\b2(\b(N\bN)\b))\b) blits of size NxN, with the limitation that
+ the image must be square, and the size must be a power of
+ 2.
+
+O\bOP\bPT\bTI\bIO\bON\bNS\bS
+ _\bb_\bl_\bi_\bt_\bs_\bp_\bi_\bn accepts the following options:
+
+ -\b-w\bwi\bin\bnd\bdo\bow\bw Draw on a newly-created window. This is the
+ default.
+
+ -\b-r\bro\boo\bot\bt Draw on the root window.
+
+ -\b-m\bmo\bon\bno\bo If on a color display, pretend we're on a
+ monochrome display.
+
+ -\b-i\bin\bns\bst\bta\bal\bll\bl
+ Install a private colormap for the window.
+
+ -\b-v\bvi\bis\bsu\bua\bal\bl _\bv_\bi_\bs_\bu_\ba_\bl
+ 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.
+
+ -\b-b\bbi\bit\btm\bma\bap\bp _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be
+ The file name of a bitmap to rotate. It need not
+ be square: it will be padded with the background
+ color. If unspecified or the string _\b(_\bd_\be_\bf_\ba_\bu_\bl_\bt_\b), a
+ builtin bitmap is used.
+
+ If support for the _\bX_\bP_\bM library was enabled at com-
+ pile-time, the specified file may be in _\bX_\bP_\bM format
+ as well as _\bX_\bB_\bM, and thus may be a color image.
+
+ The *\b*b\bbi\bit\btm\bma\bap\bpF\bFi\bil\ble\beP\bPa\bat\bth\bh resource will be searched if
+ the bitmap name is not a fully-qualified pathname.
+
+ -\b-g\bgr\bra\bab\bb-\b-s\bsc\bcr\bre\bee\ben\bn
+ If this option is specified, then the image which
+
+
+
+X Version 11 24-Nov-97 1
+
+
+
+
+
+XScreenSaver(1) XScreenSaver(1)
+
+
+ is spun will be grabbed from the portion of the
+ screen underlying the blitspin window. (Or, it
+ may come from an external video source: see
+ below.)
+
+
+ -\b-d\bde\bel\bla\bay\by _\bm_\bi_\bc_\br_\bo_\bs_\be_\bc_\bo_\bn_\bd_\bs
+ How long to delay between steps of the rotation
+ process, in microseconds. Default is 500000, one-
+ half second.
+
+
+ -\b-d\bde\bel\bla\bay\by2\b2 _\bm_\bi_\bc_\br_\bo_\bs_\be_\bc_\bo_\bn_\bd_\bs
+ How long to delay between each 90-degree rotation,
+ in microseconds. Default is 500000, one-half sec-
+ ond. D\bDI\bIS\bSP\bPL\bLA\bAY\bY to get the default host and display
+ number.
+
+R\bRE\bES\bSO\bOU\bUR\bRC\bCE\bES\bS
+ On some systems (currently, only SGIs), this program can,
+ instead of grabbing a desktop image, grab a frame of video
+ from an external camera and manipulate that instead. The
+ following resources control that.
+
+
+ g\bgr\bra\bab\bbV\bVi\bid\bde\beo\boP\bPr\bro\bob\bba\bab\bbi\bil\bli\bit\bty\by (Float)
+ What portion of the time to grab video rather than
+ a screen image, between 0.0 and 1.0. Defaults to
+ 0.5, or half the time.
+
+ v\bvi\bid\bde\beo\boD\bDe\bev\bvi\bic\bce\be (Integer)
+ The number of the default video input device to
+ check first. If unspecified, the default camera
+ (from videopanel(1)) will be checked first. After
+ that, all other available video input devices will
+ be checked in order.
+
+ The first one which produces a non-black image
+ will be used. If all images are black, the others
+ will be re-checked a few times before giving up
+ and falling back to simply grabbing a desktop
+ image (but note that this takes a few seconds, so
+ if you don't actually have any video sources
+ hooked up, you should consider turning off video
+ grabbing by setting g\bgr\bra\bab\bbV\bVi\bid\bde\beo\boP\bPr\bro\bob\bba\bab\bbi\bil\bli\bit\bty\by to 0.0.)
+
+ v\bvi\bid\bde\beo\boG\bGa\bai\bin\bn (Float)
+ The amount by which to brighten the grabbed image.
+ This defaults to 2.2.
+
+E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
+ X\bXE\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT to get the name of a resource file that over-
+ rides the global resources stored in the RESOURCE_MANAGER
+ property.
+
+
+
+X Version 11 24-Nov-97 2
+
+
+
+
+
+XScreenSaver(1) XScreenSaver(1)
+
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+ X\bX(1), x\bxs\bsc\bcr\bre\bee\ben\bns\bsa\bav\bve\ber\br(1)
+
+C\bCO\bOP\bPY\bYR\bRI\bIG\bGH\bHT\bT
+ Copyright (C) 1992, 1993, 1997 by Jamie Zawinski. Permis-
+ sion to use, copy, modify, distribute, and sell this soft-
+ ware 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 pro-
+ vided "as is" without express or implied warranty.
+
+A\bAU\bUT\bTH\bHO\bOR\bR
+ Jamie Zawinski <jwz@jwz.org>, 17-aug-92.
+
+ Based on SmallTalk code which appeared in the August 1981
+ issue of Byte magazine.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+X Version 11 24-Nov-97 3
+
+