cubicgrid(6) - Linux man page
Name
cubicgrid - rotating 3D lattice seen from inside
Synopsis
cubicgrid [-display
host:display.screen] [-visual
visual] [-window] [-root] [-install]
[-delay
microseconds] [-mono] [-speed
number] [-zoom
number] [-ticks
number] [-bigdots] [-fps]
Description
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.
Options
cubicgrid accepts the following options:
- -window
- Draw on a newly-created window. This is the default.
- -root
- Draw on the root 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 a running tally of how many frames per second are being rendered. In conjunction with -delay 0, this can be a useful benchmark of your GL
performance.
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.
See Also
X(1),
xscreensaver(1)
Copyright
Copyright © 2007 by Vasek Potocek. 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.
Author
Vasek Potocek <
vasek.potocek@post.cz>, Dec-28-07.