XScreenSaver(1) XScreenSaver(1) NNAAMMEE rocks - animation of flying through an asteroid field SSYYNNOOPPSSIISS rroocckkss [-display _h_o_s_t_:_d_i_s_p_l_a_y_._s_c_r_e_e_n] [-foreground _c_o_l_o_r] [-background _c_o_l_o_r] [-window] [-root] [-mono] [-ncolors _n] [-install] [-visual _v_i_s_u_a_l] [-count _i_n_t_e_g_e_r] [-delay _u_s_e_c_s] [-speed _i_n_t_e_g_e_r] [-norotate] [-nomove] [-3d] DDEESSCCRRIIPPTTIIOONN The _r_o_c_k_s program draws an animation of an asteroid field moving past the observer (or vice versa). Sometimes the observer picks up spin on Z axis. OOPPTTIIOONNSS _r_o_c_k_s accepts the following options: --wwiinnddooww Draw on a newly-created window. This is the default. --rroooott Draw on the root window. --mmoonnoo Make all the rocks the same color. --nnccoolloorrss ccoolloorrss How many different colors to use. Default 5. Colors are chosen randomly. --iinnssttaallll Install a private colormap for the window. --vviissuuaall _v_i_s_u_a_l 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. --ccoouunntt _i_n_t_e_g_e_r Maximum number of rocks to draw on the screen at once. Default 100. --ssppeeeedd _i_n_t_e_g_e_r A measure of the speed with which the observer and the rocks pass each other, from 1 to 100. Default 100, meaning ``very fast.'' If you're on a slow display connection (the animation looks jerky) then try making this number smaller, and/or decreasing the number of rocks. --ddeellaayy _m_i_c_r_o_s_e_c_o_n_d_s Number of microseconds to delay between each frame. Default 50000, meaning about 1/20th sec- ond. Compare and contrast with _-_s_p_e_e_d, above. X Version 11 13-aug-92 1 XScreenSaver(1) XScreenSaver(1) --nnoorroottaattee Don't rotate the observer; just fly through the field on the level. --nnoommoovvee Don't turn the observer; just fly straight ahead through the field. --33dd Do red/blue 3d separations: if you look at the screen with 3d glasses, the rocks will be _j_u_m_p_i_n_g right _o_u_t at you. Oooooh, scaaary! EENNVVIIRROONNMMEENNTT DDIISSPPLLAAYY to get the default host and display number. XXEENNVVIIRROONNMMEENNTT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MAN- AGER property. SSEEEE AALLSSOO XX(1), xxssccrreeeennssaavveerr(1) BBUUGGSS There should be an option to display doppler shift (a gravity rainbow.) Speed of rotation should be settable. Default speed of rotation should be relative to forward velocity. CCOOPPYYRRIIGGHHTT Copyright (C) 1992 by Jamie Zawinski. 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. AAUUTTHHOORR Based on Lisp Machine code copyright 1988 John Nguyen . Ported to C and X by Jamie Zawinski , 13-aug-92. Steering code by Jeremie Petit; 3D code by theil- ing@coli.uni-sb.de. X Version 11 13-aug-92 2