tangram — watch the computer solve tangram puzzles.

Synopsis

tangram [-display host:display.screen] [-visual visual] [-window] [-root] [-delay number] [-wireframe] [-viewing_time number] [-rotate] [-fps]

Description

The tangram program uses a few basic shapes to build silhouettes of recognizable objects.

Options

tangram accepts the following options:
-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.
-window
Draw on a newly-created window. This is the default.
-root
Draw on the root window.
-delay number
Per-frame delay, in microseconds. Default: 10000 (0.01 seconds.).
-wireframe | -no-wireframe
Render in wireframe instead of solid.
-viewing_time number
Specify the length of time, in seconds, that the finished puzzle should be displayed. Default: 5
-rotate | -no-rotate
Rotate the camera around the puzzle.
-fps
Display the current frame rate, CPU load, and polygon count.

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.

Author

Jeremy English <jhe@jeremyenglish.org>