rdbomb(6)

πŸ“¦
version 6.15 Β· 2 versions
, in alpine 3.24, arch rolling, nixpkgs unstable

πŸ’… rd-bomb β€” a.k.a. rdbomb(6), straight out of the XScreenSaver manual

okay so bestie, welcome to rd-bomb, the program that draws reaction/diffusion textures. that's it, that's the whole vibe. ✨


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

so the rd-bomb program draws reaction/diffusion textures. literally that's what it does. it's giving chemistry but make it pretty. πŸ§ͺπŸ’–


✨ OPTIONS ✨

okay first, the big brain part πŸ‘‘: if one of the reaction, diffusion, radius, and palette options is set to a negative value, then that option gets set to a random appropriate value. so like, go off, chaos is a valid setting. 🎲

also, a tip straight from the source, no cap β€” be sure to try:

-speed 1 -size 0.1 -epoch 3000

(yeah -epoch isn't in the list below, we don't make the rules, we just tell you to try it πŸ’€)

rd-bomb accepts the following options:

  • --window β€” draws on a newly-created window. this is the default, main character energy as always. πŸ‘‘
  • --root β€” draws on the root window. bold. iconic.
  • --window-id number β€” draws on the specified window. you pick, bestie. 🫢
  • --install β€” installs a private colormap for the window. fancy.
  • --visual visual β€” specifies 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
  • --height n β€” specify the size of the tile, in pixels. two flags, one job. πŸŽ€
  • --reaction n
  • --diffusion n β€” these are constants in the equations that effect its visual nature. each may be one of 0, 1, or 2. default is -1: these constants are chosen randomly. 🎲
  • --radius n β€” size of the seed. tiny seed, big destiny. 🌱
  • --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 β€” displays the current frame rate and CPU load. we love a performance check. πŸ“Š

πŸ“œ 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.

and that's the lore. 🧚


🌈 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 πŸ”₯

X(1), xscreensaver(1),

https://scottdraves.com/bomb.html
https://web.archive.org/web/19981206145216/http%3A//www.ccsf.caltech.edu/ismap/image.html

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. (translation: it's free, just keep the receipts. 🧾)


πŸŽ€ AUTHOR πŸŽ€

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


and that's the whole page bestie β€” brought to you by X Version 11, release 6.15 (30-Mar-2026), aka the glow-up edition. go make some reaction/diffusion art, ily, bye! πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from