rocks(6)
bestieee, you found rocks(6) in the XScreenSaver manual, and itβs literally an asteroid-field fly-through. πͺ¨π« Buckle up.
πΈ NAME πΈ
rocks β animation of flying through an asteroid field. π
β¨ SYNOPSIS β¨
rocks [--display host:display.screen] [--foreground color] [--background color] [--window] [--root] [--window-id number][--mono] [--ncolors n] [--install] [--visual visual] [--count integer] [--delay usecs] [--speed integer] [--norotate] [--nomove] [-3d] [--fps]
π¦ DESCRIPTION π¦
Okay so rocks draws an animation of an asteroid field moving past the observer (or vice versa). Sometimes the observer picks up spin on the Z axis. Thatβs the whole vibe: space rocks, motion, occasional Z-spin. π
π OPTIONS π
rocks accepts the following options. Heads up: the synopsis also shows --display host:display.screen, --foreground color, and --background color; the detailed list below doesnβt give them their own bullets, so Iβm not inventing descriptions for them. π«Ά
--windowβ Draw on a newly-created window. This is the default. πͺ--rootβ Draw on the root window. π--window-idnumber β Draw on the specified window. π--monoβ Make all the rocks the same color. π€--ncolorscolors β How many different colors to use. Default5. Colors are chosen randomly. π--installβ Install a private colormap for the window. π¨--visualvisual β 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. π--countinteger β Maximum number of rocks to draw on the screen at once. Default100. πͺ¨--speedinteger β A measure of the speed with which the observer and the rocks pass each other, from1to100. Default100, 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. ποΈ--delaymicroseconds β Number of microseconds to delay between each frame. Default50000, meaning about1/20thsecond. Compare and contrast with--speed, above. β±οΈ--norotateβ Donβt rotate the observer; just fly through the field on the level. πΈ--nomoveβ Donβt turn the observer; just fly straight ahead through the field. π-3dβ Do red/blue 3d separations: if you look at the screen with 3d glasses, the rocks will be jumping right out at you. Oooooh, scaaary! ππ--fpsβ Display the current frame rate and CPU load. π
π§ ENVIRONMENT π§
DISPLAYβ to get the default host and display number. πXENVIRONMENTβ to get the name of a resource file that overrides the global resources stored in theRESOURCE_MANAGERproperty. πXSCREENSAVER_WINDOWβ The window ID to use with--root. πͺ
π SEE ALSO π
X(1), xscreensaver(1) β go read those too, bestie. π
π BUGS π
- 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. π
π COPYRIGHT π
Copyright Β© 1992 by Jamie Zawinski. You are hereby granted permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose, without fee β but the above copyright notice has to appear in all copies, and both that copyright notice and this permission notice have to 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.
π AUTHOR π
- Based on Lisp Machine code copyright 1988 John Nguyen
<johnn@hx.lcs.mit.edu>. 𧬠- Ported to C and X by Jamie Zawinski
<jwz@jwz.org>,13-aug-92. πΎ - Steering code by Jeremie Petit; 3D code by
theiling@coli.uni-sb.de. π
xoxo, this was rocks(6) from X Version 11 β version 6.15, dated 30-Mar-2026. byeee, go fly through some rocks π
πͺ¨π
π¦ where this page comes from
- alpine 3.24: xscreensaver-doc 6.15-r0 Β· GPL-2.0-or-later GPL-3.0-or-later 0BSD MIT
- arch rolling: xscreensaver 6.15-1 Β· LicenseRef-XScreenSaver
- nixpkgs unstable: xscreensaver 6.15
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms