rdbomb(6x)

πŸ’… rdbomb(6x) β€” reaction/diffusion textures, XScreenSaver manual edition ✨

Okay so this is the rdbomb(6x) page from the XScreenSaver manual, and it’s literally here to explain a program that draws reaction/diffusion textures. Bestie, let’s get into it. 🫢

🌸 NAME 🌸

rd-bomb β€” reaction/diffusion textures.

✨ SYNOPSIS ✨

rd-bomb [--display host:display.screen] [--foreground color] [--background color] [--window] [--root] [--window-id number][--install] [--visual visual] [--width n] [--height n] [--reaction n] [--diffusion n] [--size f] [--speed f] [--delay millisecs] [--fps]

πŸ¦‹ DESCRIPTION πŸ¦‹

The rd-bomb program draws reaction/diffusion textures. That’s the whole main character energy of this one. πŸ’…

πŸŽ€ OPTIONS πŸŽ€

Okay, bestie, here’s the options vibe check. One thing first: if one of the reaction, diffusion, radius, and palette options is set to a negative value, then that option will be set to a random appropriate value. No cap, that’s the rule.

Be sure to try -speed 1 -size 0.1 -epoch 3000. Trust, it’s a whole moment.

rd-bomb accepts the following options:

  • --window β€” Draw on a newly-created window. This is the default.
  • --root β€” Draw on the root window.
  • --window-id number β€” Draw on the specified window.
  • --install β€” Install a private colormap for the window.
  • --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.
  • --width n β€” Specify the size of the tile, in pixels.
  • --height n β€” Specify the size of the tile, in pixels.
  • --reaction n β€” A constant in the equations that affects its visual nature. May be one of 0, 1, or 2. Default is -1: these constants are chosen randomly.
  • --diffusion n β€” A constant in the equations that affects its visual nature. May be one of 0, 1, or 2. Default is -1: these constants are chosen randomly.
  • --radius n β€” Size of the seed.
  • --size f β€” What fraction of the window is actively drawn, a floating point number between 0 (exclusive) and 1 (inclusive). Default is 1.0.
  • --speed f β€” When a fraction of the screen is active, the active area moves at this rate (a floating point number). Default is zero. Suggested value: 1.0.
  • --delay millisecs β€” How many milliseconds to delay between frames; default 1, or about 1/1000th of a second.
  • --fps β€” Display the current frame rate and CPU load.
The synopsis also lists --display host:display.screen, --foreground color, and --background color; the original OPTIONS section doesn’t give those separate descriptions, so I’m leaving them exactly where they are instead of inventing extra facts. πŸ’…

πŸ•°οΈ HISTORY πŸ•°οΈ

The code is derived from the 'd' mode of the "Bomb" visual musical instrument, also by Scott Draves. The equations come from Xmorphia, which is based on a version of the Gray-Scott model taken from:

John E. Pearson "Complex Patterns in a Simple System" Science, 261,189, 9 July 1993.

🌿 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 the RESOURCE_MANAGER property.
  • XSCREENSAVER_WINDOW β€” The window ID to use with --root.

πŸ‘€ SEE ALSO πŸ‘€

Copyright Β© 1997 by Scott Draves.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

🌟 AUTHOR 🌟

Scott Draves <spot@cs.cmu.edu>, Sep 1997


πŸ’– That’s the tea: this page is from the XScreenSaver manual, X Version 11, 6.09 (07-Jun-2024), and it’s rdbomb(6x). Stay sparkly, bestie! 🫢✨

πŸ“¦ where this page comes from