4 XScreenSaver(1) XScreenSaver(1)
8 rocks - animation of flying through an asteroid field
10 S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
11 r
\bro
\boc
\bck
\bks
\bs [-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]
12 [-background _
\bc_
\bo_
\bl_
\bo_
\br] [-window] [-root] [-mono] [-ncolors _
\bn]
13 [-install] [-visual _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl] [-count _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br] [-delay
14 _
\bu_
\bs_
\be_
\bc_
\bs] [-speed _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br] [-norotate] [-nomove] [-3d]
16 D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
17 The _
\br_
\bo_
\bc_
\bk_
\bs program draws an animation of an asteroid field
18 moving past the observer (or vice versa). Sometimes the
19 observer picks up spin on Z axis.
21 O
\bOP
\bPT
\bTI
\bIO
\bON
\bNS
\bS
22 _
\br_
\bo_
\bc_
\bk_
\bs accepts the following options:
24 -
\b-w
\bwi
\bin
\bnd
\bdo
\bow
\bw Draw on a newly-created window. This is the
27 -
\b-r
\bro
\boo
\bot
\bt Draw on the root window.
29 -
\b-m
\bmo
\bon
\bno
\bo Make all the rocks the same color.
31 -
\b-n
\bnc
\bco
\bol
\blo
\bor
\brs
\bs c
\bco
\bol
\blo
\bor
\brs
\bs
32 How many different colors to use. Default 5.
33 Colors are chosen randomly.
35 -
\b-i
\bin
\bns
\bst
\bta
\bal
\bll
\bl
36 Install a private colormap for the window.
38 -
\b-v
\bvi
\bis
\bsu
\bua
\bal
\bl _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl
39 Specify which visual to use. Legal values are the
40 name of a visual class, or the id number (decimal
41 or hex) of a specific visual.
43 -
\b-c
\bco
\bou
\bun
\bnt
\bt _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
44 Maximum number of rocks to draw on the screen at
47 -
\b-s
\bsp
\bpe
\bee
\bed
\bd _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
48 A measure of the speed with which the observer and
49 the rocks pass each other, from 1 to 100. Default
50 100, meaning ``very fast.'' If you're on a slow
51 display connection (the animation looks jerky)
52 then try making this number smaller, and/or
53 decreasing the number of rocks.
55 -
\b-d
\bde
\bel
\bla
\bay
\by _
\bm_
\bi_
\bc_
\br_
\bo_
\bs_
\be_
\bc_
\bo_
\bn_
\bd_
\bs
56 Number of microseconds to delay between each
57 frame. Default 50000, meaning about 1/20th sec-
58 ond. Compare and contrast with _
\b-_
\bs_
\bp_
\be_
\be_
\bd, above.
64 X Version 11 13-aug-92 1
70 XScreenSaver(1) XScreenSaver(1)
73 -
\b-n
\bno
\bor
\bro
\bot
\bta
\bat
\bte
\be
74 Don't rotate the observer; just fly through the
77 -
\b-n
\bno
\bom
\bmo
\bov
\bve
\be Don't turn the observer; just fly straight ahead
80 -
\b-3
\b3d
\bd Do red/blue 3d separations: if you look at the
81 screen with 3d glasses, the rocks will be _
\bj_
\bu_
\bm_
\bp_
\bi_
\bn_
\bg
82 right _
\bo_
\bu_
\bt at you. Oooooh, scaaary!
84 E
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
85 D
\bDI
\bIS
\bSP
\bPL
\bLA
\bAY
\bY to get the default host and display number.
87 X
\bXE
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
88 to get the name of a resource file that overrides
89 the global resources stored in the RESOURCE_MAN-
92 S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
93 X
\bX(1), x
\bxs
\bsc
\bcr
\bre
\bee
\ben
\bns
\bsa
\bav
\bve
\ber
\br(1)
96 There should be an option to display doppler shift (a
99 Speed of rotation should be settable.
101 Default speed of rotation should be relative to forward
104 C
\bCO
\bOP
\bPY
\bYR
\bRI
\bIG
\bGH
\bHT
\bT
105 Copyright (C) 1992 by Jamie Zawinski. Permission to use,
106 copy, modify, distribute, and sell this software and its
107 documentation for any purpose is hereby granted without
108 fee, provided that the above copyright notice appear in
109 all copies and that both that copyright notice and this
110 permission notice appear in supporting documentation. No
111 representations are made about the suitability of this
112 software for any purpose. It is provided "as is" without
113 express or implied warranty.
115 A
\bAU
\bUT
\bTH
\bHO
\bOR
\bR
116 Based on Lisp Machine code copyright 1988 John Nguyen
117 <johnn@hx.lcs.mit.edu>.
119 Ported to C and X by Jamie Zawinski <jwz@jwz.org>,
122 Steering code by Jeremie Petit; 3D code by theil-
130 X Version 11 13-aug-92 2