rocks(6x)

πŸ’« rocks β€” flying through an asteroid field, but make it a vibe πŸ’«

okay bestie, so this is a page from the XScreenSaver manual (that's the 6x bit, iykyk) and honestly? it's giving "we're in space and nobody's driving." πŸš€βœ¨


🌸 NAME 🌸

rocks β€” literally an animation of flying through an asteroid field. that's it. that's the whole thing. πŸͺ¨πŸ’«


πŸŽ€ 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 πŸ¦‹

so rocks draws an animation of an asteroid field moving past the observer β€” or, plot twist, the observer moving past the asteroid field (vice versa, bestie, it's mutual). and sometimes the observer picks up spin on Z axis. no cap, it just starts rotating. main character energy fr. πŸ’…


✨ OPTIONS ✨

rocks accepts the following options, and yes we're going through all of them, don't test me:

  • --window β€” draw on a newly-created window. this is the default, so like, if you do nothing, this is what happens. πŸ’–
  • --root β€” draw on the root window. going full wallpaper mode.
  • --window-id number β€” draw on the specified window. you pick the window, you get the rocks.
  • --mono β€” make all the rocks the same color. monochrome moment. πŸ–€
  • --ncolors colors β€” how many different colors to use. default 5. colors are chosen randomly β€” so it's a little surprise every time, obsessed. 🌈
  • --install β€” install a private colormap for the window. fancy.
  • --visual visual β€” 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. yes, decimal or hex, she's flexible. πŸ’…
  • --count integer β€” maximum number of rocks to draw on the screen at once. default 100. that's a whole lotta rocks πŸͺ¨πŸͺ¨πŸͺ¨
  • --speed integer β€” 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. this is your friendly reminder that you can just... turn it down. 🐒
  • --delay microseconds β€” number of microseconds to delay between each frame. default 50000, meaning about 1/20th second. Compare and contrast with --speed, above. they're different knobs, bestie, don't confuse them. ⏱️
  • --norotate β€” don't rotate the observer; just fly through the field on the level. no spinning. grounded behavior. 😌
  • --nomove β€” don't turn the observer; just fly straight ahead through the field. straight line, zero drama.
  • -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! πŸ‘»πŸ’€ (their words, not mine, but honestly iconic)
  • --fps β€” display the current frame rate and CPU load. numbers! on screen! we love a diagnostic. πŸ“Š

🌱 ENVIRONMENT 🌱

  • DISPLAY to get the default host and display number. this is how it knows where to put the rocks. πŸ–₯️
  • XENVIRONMENT β€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. (big words, but it's just "where do I find the override file" energy.) πŸ—‚οΈ
  • XSCREENSAVER_WINDOW β€” the window ID to use with --root.

πŸ”₯ SEE ALSO πŸ”₯

X(1), xscreensaver(1)

like, go read those too if you want the full lore. iykyk. πŸ’œ


πŸ“ BUGS πŸ“

okay so there are some known wishes, and i'm just gonna say them plainly:

  • There should be an option to display doppler shift (a gravity rainbow.) 🌈 β€” there is not. we want it. we don't have it.
  • Speed of rotation should be settable. β€” nope, not currently.
  • Default speed of rotation should be relative to forward velocity. β€” also not currently. it's a whole wishlist, bestie. 😭

Copyright Β© 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.

(translation: it's free to use, just keep the notice, and no promises that it works for anything β€” as-is, no warranty, fr fr.) 🫢


🧚 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.

πŸ’– cute sign-off πŸ’–

this whole page is from X Version 11, version 6.09 (07-Jun-2024) β€” and that's the rocks(6x) manual, done and dusted. now go stare at some asteroids. slay. πŸͺ¨βœ¨πŸŽ€

πŸ“¦ where this page comes from