papercube(6x)

πŸ’– papercube(6x) πŸ’–

okay bestie, so this is papercube, and yes it lives in the XScreenSaver manual β€” it's a screensaver module, not a math paper, don't worry πŸŽ€


✨ NAME ✨

papercube β€” literally the tutorial for how to fold a glueless paper cube πŸ§šβ€β™€οΈ no tape, no glue, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

papercube [--display host:display.screen] [--visual visual] [--window]
[--root] [--delay number] [--no-wander] [--spin 0] [--spin [XYZ]]
[--spin Y] [--spin Z] [--spin XY] [--spin XZ] [--spin YZ] [--speed
number] [--fps] [--wireframe]

🌸 DESCRIPTION 🌸

It draws a paper template β€” like, the flat unfolded net β€” and then that template folds up into a cube. That's it. That's the whole vibe. it's giving arts-and-crafts class but make it pixels βœ¨πŸ“¦


πŸŽ€ OPTIONS πŸŽ€

  • --visual visual β€” tells it which visual to use. Legal values are either the name of a visual class, or the id number (decimal or hex) of one specific visual. iykyk if you know your visuals πŸ’…
  • --window β€” draw on a brand-new window it makes itself. this one is the default, so like, you don't have to ask 🫢
  • --root β€” draw straight on the root window instead.
  • --delay number β€” the per-frame delay, measured in microseconds. default is 30000, which is 0.03 seconds in case your brain also refuses to do micro-math 😭
  • --wander | --no-wander β€” whether the object should wander around the screen or, y'know, stay put.
  • --spin 0 β€” don't rotate. at all. frozen. statue era πŸ’€
  • --spin [XYZ] β€” around which axes should the object spin? your call, icon.
  • --spin Y β€” rotate around the Y axis. this is the default, main character behavior πŸ‘‘
  • --spin Z β€” rotate around the Z axis.
  • --spin XY β€” rotate around the X and Y axes.
  • --spin XZ β€” rotate around the X and Z axes.
  • --spin YZ β€” rotate around the Y and Z axes.
  • --speed number β€” animation speed. 2.0 means twice as fast, 0.5 means half as fast. simple as πŸ”₯
  • --fps | --no-fps β€” whether to show a frames-per-second display down at the bottom of the screen.
  • --wireframe | --no-wireframe β€” render in wireframe instead of solid. outline mode 🌈 vs. full send.

πŸ¦‹ ENVIRONMENT πŸ¦‹

  • DISPLAY β€” used to get the default host and display number.
  • XENVIRONMENT β€” used 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) β€” go read those too, bestie, they're the lore 🫢


Copyright Β© 2023 by Ireneusz Szpilewski. 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, that's the whole license, no paraphrase β€” go off and sell it, just keep the notice πŸ’…

🌟 AUTHOR 🌟

Ireneusz Szpilewski and Jamie Zawinski.


okay that's the whole page!! X Version 11, shipped as 6.09 (07-Jun-2024) β€” mwah, go fold a cube, ily πŸ§šβ€β™€οΈπŸ’–πŸŽ€

πŸ“¦ where this page comes from