DISPLAY
to get the default host and display number.
Rotating 3d lattice seen from inside
cubicgrid [--display
host:display.screen]
[--visual
visual]
[--window]
[--root]
[--window-id
number]
[--install]
[--delay
microseconds]
[--mono]
[--speed
number]
[--zoom
number]
[--ticks
number]
[--bigdots]
[--fps]
[--symmetry
crystalographic
symmetry]
This program shows the view of an observer located inside a set of points arranged to a 3D lattice. As the lattice rotates, various view-throughs appear and evolve. A simple idea with interesting results.
cubicgrid 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.
--delay microseconds
How long to pause between frames. Default is 20000, or 0.02 second.
--mono
Draw in black and white. If not used, a fixed all-color scheme is chosen.
--speed number
The maximum speed of the rotation. The actual speed and axis change smoothly for better effect. 0.5 - 10. The default is 1.0.
--zoom number
Size of the lattice. Ideally it should fill all the screen, but one may find other values also interesting. 5 - 50. The default of 20 should do for common screen aspect ratios.
--ticks number
The count of points drawn along every axis. 10 - 100. The default is 30.
--bigdots
Draw the points twice as big.
--fps
Display the current frame rate, CPU load, and polygon count.
--symmetry Symmetry
Which crystalographic symmetry system to use. One of "auto", "cubic", or "hexagonal". "auto" will randomly select between symmetry systems.
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.
9 releases since Debian 5.0 (Lenny); the text changed 8 times.
--bigdots since Debian 12 (Bookworm);
--delay since Debian 12 (Bookworm);
--fps since Debian 12 (Bookworm);
--install since Debian 12 (Bookworm);
--mono since Debian 12 (Bookworm);
--root since Debian 12 (Bookworm);
--speed since Debian 12 (Bookworm);
--symmetry since Debian 12 (Bookworm);
--ticks since Debian 12 (Bookworm);
--visual since Debian 12 (Bookworm);
--window since Debian 12 (Bookworm);
--window-id since Debian 12 (Bookworm);
--zoom since Debian 12 (Bookworm).
-bigdots until Debian 11 (Bullseye);
-delay until Debian 11 (Bullseye);
-fps until Debian 11 (Bullseye);
-install until Debian 11 (Bullseye);
-mono until Debian 11 (Bullseye);
-root until Debian 11 (Bullseye);
-speed until Debian 11 (Bullseye);
-ticks until Debian 11 (Bullseye);
-visual until Debian 11 (Bullseye);
-window until Debian 11 (Bullseye);
-zoom until Debian 11 (Bullseye).