summaryrefslogtreecommitdiffstats
path: root/hacks/glx/klein.man
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/glx/klein.man')
-rw-r--r--hacks/glx/klein.man138
1 files changed, 85 insertions, 53 deletions
diff --git a/hacks/glx/klein.man b/hacks/glx/klein.man
index 1b456bc..342c11f 100644
--- a/hacks/glx/klein.man
+++ b/hacks/glx/klein.man
@@ -12,7 +12,7 @@ klein - Draws a 4d Klein bottle.
[\-fps]
[\-klein-bottle \fIbottle-name\fP]
[-figure-8]
-[-squeezed-torus]
+[-pinched-torus]
[-lawson]
[\-mode \fIdisplay-mode\fP]
[\-wireframe]
@@ -22,9 +22,11 @@ klein - Draws a 4d Klein bottle.
[\-solid]
[\-bands]
[\-colors \fIcolor-scheme\fP]
+[\-onesided]
[\-twosided]
[\-rainbow]
[\-depth]
+[\-change-colors]
[\-view-mode \fIview-mode\fP]
[\-walk]
[\-turn]
@@ -46,56 +48,72 @@ klein - Draws a 4d Klein bottle.
[\-walk-speed \fIfloat\fP]
.SH DESCRIPTION
The \fIklein\fP program shows three different Klein bottles in 4d: the
-figure-8 Klein bottle, the squeezed torus Klein bottle, or the Lawson
+figure-8 Klein bottle, the pinched torus Klein bottle, or the Lawson
Klein bottle. You can walk on the Klein bottle, see it turn in 4d, or
walk on it while it turns in 4d. The figure-8 Klein bottle is well
known in its 3d form. The 4d form used in this program is an
extension of the 3d form to 4d that does not intersect itself in 4d
-(which can be seen in the depth colors mode). The squeezed torus
-Klein bottle also does not intersect itself in 4d (which can be seen
-in the depth colors mode). The Lawson Klein bottle, on the other
-hand, does intersect itself in 4d. Its primary use is that it has a
-nice appearance for walking and for turning in 3d. The Klein bottle
-is a non-orientable surface. To make this apparent, the two-sided
-color mode can be used. Alternatively, orientation markers (curling
-arrows) can be drawn as a texture map on the surface of the Klein
-bottle. While walking on the Klein bottle, you will notice that the
-orientation of the curling arrows changes (which it must because the
-Klein bottle is non-orientable). The program projects the 4d Klein
-bottle to 3d using either a perspective or an orthographic projection.
-Which of the two alternatives looks more appealing depends on the
-viewing mode and the Klein bottle. For example, the Lawson Klein
-bottle looks nicest when projected perspectively. The figure-8 Klein
-bottle, on the other hand, looks nicer while walking when projected
-orthographically from 4d. For the squeezed torus Klein bottle, both
-projection modes give equally acceptable projections. The projected
-Klein bottle can then be projected to the screen either perspectively
-or orthographically. When using the walking modes, perspective
-projection to the screen should be used. There are three display
-modes for the Klein bottle: mesh (wireframe), solid, or transparent.
-Furthermore, the appearance of the Klein bottle can be as a solid
-object or as a set of see-through bands. Finally, the colors with
-with the Klein bottle is drawn can be set to two-sided, rainbow, or
-depth. In the first case, the Klein bottle is drawn with red on one
-"side" and green on the "other side". Of course, the Klein bottle
+(which can be seen in the depth colors mode when using static colors).
+The pinched torus Klein bottle also does not intersect itself in 4d
+(which can be seen in the depth colors mode when using static colors).
+The Lawson Klein bottle, on the other hand, does intersect itself in
+4d. Its primary use is that it has a nice appearance for walking and
+for turning in 3d.
+.PP
+The Klein bottle is a non-orientable surface. To make this apparent,
+the two-sided color mode can be used. Alternatively, orientation
+markers (curling arrows) can be drawn as a texture map on the surface
+of the Klein bottle. While walking on the Klein bottle, you will
+notice that the orientation of the curling arrows changes (which it
+must because the Klein bottle is non-orientable).
+.PP
+The program projects the 4d Klein bottle to 3d using either a
+perspective or an orthographic projection. Which of the two
+alternatives looks more appealing depends on the viewing mode and the
+Klein bottle. For example, the Lawson Klein bottle looks nicest when
+projected perspectively. The figure-8 Klein bottle, on the other
+hand, looks nicer while walking when projected orthographically from
+4d. For the pinched torus Klein bottle, both projection modes give
+equally acceptable projections.
+.PP
+The projected Klein bottle can then be projected to the screen either
+perspectively or orthographically. When using the walking modes,
+perspective projection to the screen should be used.
+.PP
+There are three display modes for the Klein bottle: mesh (wireframe),
+solid, or transparent. Furthermore, the appearance of the Klein
+bottle can be as a solid object or as a set of see-through bands.
+Finally, the colors with with the Klein bottle is drawn can be set to
+one-sided, two-sided, rainbow, or depth. In one-sided mode, the Klein
+bottle is drawn with the same color on both "sides." In two-sided
+mode (using static colors), the Klein bottle is drawn with red on one
+"side" and green on the "other side." Of course, the Klein bottle
only has one side, so the color jumps from red to green along a curve
on the surface of the Klein bottle. This mode enables you to see that
-the Klein bottle is non-orientable. The second mode draws the Klein
-bottle with fully saturated rainbow colors. This gives a very nice
-effect when combined with the see-through bands mode or with the
-orientation markers drawn. The third mode draws the Klein bottle with
-colors that are chosen according to the 4d "depth" of the points.
-This mode enables you to see that the figure-8 and squeezed torus
-Klein bottles do not intersect themselves in 4d, while the Lawson
-Klein bottle does intersect itself. The rotation speed for each of
-the six planes around which the Klein bottle rotates can be chosen.
-For the walk-and-turn mode, only the rotation speeds around the true
-4d planes are used (the xy, xz, and yz planes). Furthermore, in the
-walking modes the walking direction in the 2d base square of the Klein
-bottle and the walking speed can be chosen. This program is somewhat
-inspired by Thomas Banchoff's book "Beyond the Third Dimension:
-Geometry, Computer Graphics, and Higher Dimensions", Scientific
-American Library, 1990.
+the Klein bottle is non-orientable. If changing colors are used in
+two-sided mode, changing complementary colors are used on the
+respective "sides." The rainbow color mode (using static colors)
+draws the Klein bottle with a color wheel of fully saturated rainbow
+colors. If changing colors are used, the color wheel's colors change
+dynamically. The rainbow color mode gives a very nice effect when
+combined with the see-through bands mode or with the orientation
+markers drawn. The depth color mode draws the Klein bottle with
+colors that are chosen according to the 4d "depth" of the points. If
+static colors are used, this mode enables you to see that the figure-8
+and pinched torus Klein bottles do not intersect themselves in 4d,
+while the Lawson Klein bottle does intersect itself.
+.PP
+The rotation speed for each of the six planes around which the Klein
+bottle rotates can be chosen. For the walk-and-turn mode, only the
+rotation speeds around the true 4d planes are used (the xy, xz, and yz
+planes).
+.PP
+Furthermore, in the walking modes the walking direction in the 2d base
+square of the Klein bottle and the walking speed can be chosen.
+.PP
+This program is somewhat inspired by Thomas Banchoff's book "Beyond
+the Third Dimension: Geometry, Computer Graphics, and Higher
+Dimensions", Scientific American Library, 1990.
.SH OPTIONS
.I klein
accepts the following options:
@@ -129,8 +147,8 @@ Display a random Klein bottle (default).
.B \-klein-bottle figure-8 \fP(Shortcut: \fB\-figure-8\fP)
Display the figure-8 Klein bottle.
.TP 8
-.B \-klein-bottle squeezed-torus \fP(Shortcut: \fB\-squeezed-torus\fP)
-Display the squeezed torus Klein bottle.
+.B \-klein-bottle pinched-torus \fP(Shortcut: \fB\-pinched-torus\fP)
+Display the pinched torus Klein bottle.
.TP 8
.B \-klein-bottle lawson \fP(Shortcut: \fB\-lawson\fP)
Display the Lawson Klein bottle.
@@ -162,15 +180,19 @@ Display the Klein bottle as a solid object.
.B \-appearance bands \fP(Shortcut: \fB\-bands\fP)
Display the Klein bottle as see-through bands.
.PP
-The following four options are mutually exclusive. They determine
+The following five options are mutually exclusive. They determine
how to color the Klein bottle.
.TP 8
.B \-colors random
Display the Klein bottle with a random color scheme (default).
.TP 8
-.B \-colors twosided \fP(Shortcut: \fB\-twosided\fP)
-Display the Klein bottle with two colors: red on one "side" and green
-on the "other side".
+.B \-colors one-sided \fP(Shortcut: \fB\-onesided\fP)
+Display the Klein bottle with a single color.
+.TP 8
+.B \-colors two-sided \fP(Shortcut: \fB\-twosided\fP)
+Display the Klein bottle with two colors: one color one "side" and the
+complementary color on the "other side." For static colors, the
+colors are red and green.
.TP 8
.B \-colors rainbow \fP(Shortcut: \fB\-rainbow\fP)
Display the Klein bottle with fully saturated rainbow colors. If the
@@ -181,6 +203,16 @@ displayed with a different color.
Display the Klein bottle with colors chosen depending on the 4d
"depth" of the points.
.PP
+The following options determine whether the colors with which the
+Klein bottle is displayed are static or are changing dynamically.
+.TP 8
+.B \-change-colors
+Change the colors with which the Klein bottle is displayed
+dynamically.
+.TP 8
+.B \-no-change-colors
+Use static colors to display the Klein bottle (default).
+.PP
The following four options are mutually exclusive. They determine
how to view the Klein bottle.
.TP 8
@@ -296,7 +328,7 @@ stored in the RESOURCE_MANAGER property.
.BR X (1),
.BR xscreensaver (1)
.SH COPYRIGHT
-Copyright \(co 2005-2014 by Carsten Steger. Permission to use, copy,
+Copyright \(co 2005-2020 by Carsten Steger. 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
@@ -305,4 +337,4 @@ No representations are made about the suitability of this software for
any purpose. It is provided "as is" without express or implied
warranty.
.SH AUTHOR
-Carsten Steger <carsten@mirsanmir.org>, 03-oct-2014.
+Carsten Steger <carsten@mirsanmir.org>, 11-jan-2020.