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] [-install] [-visual
13 _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl] [-count _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br] [-delay _
\bu_
\bs_
\be_
\bc_
\bs] [-speed _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br]
14 [-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-i
\bin
\bns
\bst
\bta
\bal
\bll
\bl
30 Install a private colormap for the window.
32 -
\b-v
\bvi
\bis
\bsu
\bua
\bal
\bl _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl
33 Specify which visual to use. Legal values are the
34 name of a visual class, or the id number (decimal
35 or hex) of a specific visual.
37 -
\b-c
\bco
\bou
\bun
\bnt
\bt _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
38 Maximum number of rocks to draw on the screen at
41 -
\b-s
\bsp
\bpe
\bee
\bed
\bd _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
42 A measure of the speed with which the observer and
43 the rocks pass each other, from 1 to 100. Default
44 100, meaning ``very fast.'' If you're on a slow
45 display connection (the animation looks jerky)
46 then try making this number smaller, and/or
47 decreasing the number of rocks.
49 -
\b-d
\bde
\bel
\bla
\bay
\by _
\bm_
\bi_
\bc_
\br_
\bo_
\bs_
\be_
\bc_
\bo_
\bn_
\bd_
\bs
50 Number of microseconds to delay between each
51 frame. Default 50000, meaning about 1/20th sec-
52 ond. Compare and contrast with _
\b-_
\bs_
\bp_
\be_
\be_
\bd, above.
54 -
\b-n
\bno
\bor
\bro
\bot
\bta
\bat
\bte
\be
55 Don't rotate the observer; just fly through the
58 -
\b-n
\bno
\bom
\bmo
\bov
\bve
\be Don't turn the observer; just fly straight ahead
64 X Version 11 13-aug-92 1
70 XScreenSaver(1) XScreenSaver(1)
73 -
\b-3
\b3d
\bd Do red/blue 3d separations: if you look at the
74 screen with 3d glasses, the rocks will be _
\bj_
\bu_
\bm_
\bp_
\bi_
\bn_
\bg
75 right _
\bo_
\bu_
\bt at you. Oooooh, scaaary!
77 E
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
78 D
\bDI
\bIS
\bSP
\bPL
\bLA
\bAY
\bY to get the default host and display number.
80 X
\bXE
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
81 to get the name of a resource file that overrides
82 the global resources stored in the RESOURCE_MAN-
85 S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
86 X
\bX(1), x
\bxs
\bsc
\bcr
\bre
\bee
\ben
\bns
\bsa
\bav
\bve
\ber
\br(1)
89 There should be an option to display doppler shift (a
92 Speed of rotation should be settable.
94 Default speed of rotation should be relative to forward
97 C
\bCO
\bOP
\bPY
\bYR
\bRI
\bIG
\bGH
\bHT
\bT
98 Copyright (C) 1992 by Jamie Zawinski. Permission to use,
99 copy, modify, distribute, and sell this software and its
100 documentation for any purpose is hereby granted without
101 fee, provided that the above copyright notice appear in
102 all copies and that both that copyright notice and this
103 permission notice appear in supporting documentation. No
104 representations are made about the suitability of this
105 software for any purpose. It is provided "as is" without
106 express or implied warranty.
108 A
\bAU
\bUT
\bTH
\bHO
\bOR
\bR
109 Based on Lisp Machine code copyright 1988 John Nguyen
110 <johnn@hx.lcs.mit.edu>.
112 Ported to C and X by Jamie Zawinski <jwz@netscape.com>,
115 Steering code by Jeremie Petit; 3D code by theil-
130 X Version 11 13-aug-92 2