metaballs(6x)

πŸ’– metaballs(6x) β€” the XScreenSaver manual, but make it cute πŸ’–

okay bestie, welcome to metaballs(6x), aka the XScreenSaver manual page for this little blob hack β€” and yes it lives in section 6x because it's an X11 demo, iykyk ✨


🌈 NAME 🌈

MetaBalls β€” literally draws 2D metaballs. that's the whole vibe. blobs. on your screen. slay πŸ’…


✨ SYNOPSIS ✨

MetaBalls [--display host:display.screen] [--visual visual] [--window]
[--root] [--window-id number] [--ncolors number] [--count number]
[--delay number] [--cycles number] [--radius number] [--delta number]
[--fps]

🫢 DESCRIPTION 🫢

so this hack draws 2D metaballs onto your screen, and the way it does it is genuinely iconic: for every single pixel, it calculates the sum of the colors of all the metaballs covering that pixel. that's it. that's the whole algorithm. blob math. no cap πŸ’€


πŸŽ€ OPTIONS πŸŽ€

  • --visual visual β€” picks which visual to use, bestie. legal values are either the name of a visual class, or the id number (decimal or hex) of a specific visual. pick your fighter πŸ’–
  • --window β€” draws on a newly-created window. this one is the default, so it's kinda the main character πŸ‘‘
  • --root β€” draws on the root window. living rent free on your desktop, as one does ✨
  • --window-id number β€” draws on the specified window. you point, it blobs 🫡
  • --ncolors number β€” Number of Colors. Default: 256. so many colors, so little time 🌈
  • --count number β€” Number of MetaBalls. 2 - 255. Default: 10. that's your blob squad, your little friend group πŸ¦‹
  • --delay number β€” Per-frame delay, in microseconds. Default: 5000 (0.005 seconds.). yes microseconds, everybody stay calm 😭
  • --cycles number β€” Duration. 100 - 3000. Default: 1000. how long this whole thing goes on for ⭐
  • --fps β€” Display the current frame rate and CPU load. the diagnostics girlies are eating this one up πŸ”₯

🌸 ENVIRONMENT 🌸

  • DISPLAY β€” to get the default host and display number. where am i, where are my blobs, etc πŸ’œ
  • XENVIRONMENT β€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. the override era πŸ™ˆ
  • XSCREENSAVER_WINDOW β€” The window ID to use with --root. important detail, don't skip her πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

X(1), xscreensaver(1), http://demo-effects.sourceforge.net/

go read those too, bestie, they're linked for a reason πŸ’…

Copyright Β© 2002-2003 by W.P. van Paassen. 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.

fr fr read that license, it's giving generous but also "as is, no warranty," so don't come for anyone if it breaks πŸ’€

⭐ AUTHOR ⭐

W.P. van Paassen


okay that's the whole page, mwah 🫢 β€” this was X Version 11, 6.09 (07-Jun-2024), and you can find it filed under metaballs(6x) whenever you need her. now go watch some blobs, you've earned it πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from