Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

psh(1)

pageview(1)

hyperview(1)

OPENWINDEMOS(6)  —  GAMES AND DEMOS

NAME

OpenWindows Demonstrations

SYNOPSIS

Demos menu item in the Programs submenu. 

OVERVIEW

The Demos menu item on the root menu runs hyperview, a hypertext browser runnning a stack called DemoNavigator.  This program allows you to browse around a hierarchy of  and  demonstration programs.  These programs are intended to demonstrate  and  graphics and user interaction capabilities. 

DESCRIPTION

The Demos are started by selecting the Demo item on the Programs pull-right menu on the root menu. 

    The NeWS Toolkit
PostScript Previewer
    Color
Peter
Tiger
Parrot
Chip
    Black and White
Golfer
Rose
Shuttle
Nozzle
Porsche
Butterfly
Hawaii
Usamap
Worldmap
    Multipage
Encapsulated PostScript
Overview
NeWS Rendering
    Escher’s Fish
    World
    SpaceShip
    Lines
    Spiral
    Pie Chart
    Wide Lines
    X Logo
    Rubber-band
Imaging
    Text/Fonts
    Scaled Text
    Images
    Magnifier
Animation
    Technichron
    Round Clock
    Mona Eyes
    Icosahedron
    IcoScreenSaver
    PolyScreenSaver
    Flying Logos
    Tetris
     Wink
Colors
    Color Names
    Colormap
    Color Wheel
    Fader
Journaling
Calculator
    X11 demos
xterm
XView PostScript
Ico
Solid Ico
Psycho
Maze
Muncher
Plaid
Puzzle
Worm
Xsol

The menu items are described below. 

The Toolkit: Previewer

Color The following color demos:

Peter Peter Gabriel drawn by David Lavallee using Painter. 

Tiger Bengal Tiger from Adobe Illustrator. 

Parrot
Colorful parrot from Adobe Illustrator.

Chip Custom Asic from a cad package. 

Black and White
The following black and white demos:

Golfer
The famous golfer from Adobe Illustrator.

Rose A vector drawing of a rose with a poem. 

Shuttle
AutoCAD cutaway drawing of a space shuttle.

Nozzle
AutoCAD machanical drawing of a fire hose nozzle.

Porsche
Adobe Illustrator Porsche 911T.

Butterfly
A vector drawing of a butterfly.

Hawaii
Map of Hawaii from SunDraw.

Usamap
Map of USA from Brian Reids netmap.

Worldmap
Map of the world from Brian Reids netmap.

Multipage
The following Multipage demos:

Encapsulated PostScript
The EPSF document from Adobe. 

Overview
The  Overview document done in Frame.

The Toolkit: Rendering

Escher’s Fish
Draws the famous Square Limit created by M.  C. Escher.  The demo is a 260-line recursive  program that draws a large number of vectors.  You can use the menu to vary the complexity of this drawing. 

World
Displays a geographic projection of the western hemisphere.

SpaceShip
A demonstration of ’ vector-drawing capabilities.  The demo draws four spaceships inside its window, composed of over 7,000 vectors.

Lines Creates a window with a line pattern inside of it.  You can can alter the number of lines drawn from the pop-up menu inside the window.  On color screens, the line pattern is displayed in a rainbow of colors. 

Spiral Draws a simple spiral pattern. 

Pie Chart
Draws a business pie chart with slices of the pie filled with varying colors.

Wide Lines
A simple sketchpad that demonstrates ’ wide line drawing capabilities.  Click left to move the current point and middle to draw a line, curve or arc to any point.  The menu allows you to to change all of the possible options in the  language graphics context which affect wide line drawing.

X Logo
Draws an X logo based on that by Danny Chong.

Rubber-band
Demonstrates how responsive  can be when interacting with you.  Click and drag the Point button to drag out a vector, rectangle or cubic spline curve.  After a point is placed, you may adjust it by selecting it with the middle button.

The Toolkit: Imaging

Text/Fonts
Writes text inside a window in several styles.  The right button brings up a pop-up menu from which you can select the font under the Font pull-right, the point size, the colors, and the text to be shown.  The text shown can be either some sample text or a list of all characters in the chosen font. 

Scaled Text
Demonstrates ’ ability to scale text to an arbitrary size using the fill smart outline fonts of the imbedded OpenFonts technology of .

Images
Combines all of the image demos from  1.1 into one demo. The Images submenu lets you choose which image to manipulate while the Modes submenu lets you choose the mode you wish to view the image in.  Scaled Image fits the image into the frame, whatever size you make it.  Pan Image renders the image in its native size and lets you pan it around by pressing and dragging the left mouse button.  If you "lose" the image, pressing the middle button will bring it back.  Bounce Image will "automatically" pan the image around, bouncing off of the window borders.  Tiled Image will render the image as many times as it takes to fill the window frame.  Rotated image will render the image at several rotations around the clock.  Spin image will render the image in a user defined square at an arbitraty orientation.  Press the left mouse button and drag out any square and the image will repaint inside it.  The Triangle, Doughnut and SunLogo Stencils all demonstrate ’  language imaging model, where all operations including imaging can be clipped to an arbirary "stencil".  The brightness and contrast menus can be used to adjust these viewing parameters using the  language transfer function.

Magnifier
The magnifier expands the bits under the cursor location.  The zoom level can be controlled by the menu.  You can stop the snapshots of the cursor by pressing the middle button.  If you press left button in the magnifier window when it is stopped it will restart.

The Toolkit: Animation

Technichron
Technichron displays the time of day by showing how the light is falling on the earth at the current time.  There are several methods of "Time Warp" available from the menu.  These were originally intended for debugging purposes, but have been retained for their educational value. 

Round Clock
A clock written entirely in the  language.  It uses unorthodox methods of getting the time of day from the system, and overrides almost every possible method in the frame and canvas classes in the toolkit.

Mona Eyes
Represents half of an all-nighter and the lighter side of  programming.  The code is mostly stolen from  1.1’s Eyecosahedron, the ideas are stolen from Monty Python’s Flying Circus.

Icosahedron
Displays a bouncing 20 sided regular solid with the hidden lines removed.The menu switches between rendering directly to the framebuffer and buffering the rendering through an image.  On machines with fast graphics hardware the former will be faster. 

IcoScreenSaver
This is the same demo as above, but it is covers the whole screen and goes away with a click of the mouse button.

PolyScreenSaver
Another screen saver, which is modeled after the Mesa program "Poly".

Flying Logos
An observation of the one-to-one-ness of  and the Sun Logo.

Tetris A straightforward port of the popular Game. 

Wink Displays a pair of eyes in the middle of the screen, one of which winks at you. 

The Toolkit: Colors

Color Names
Shows you the correspondence between color names in the color dictionary as implemented by NeWS/colors.ps and their colors on the screen.  This program uses scrollbars to access all the colors. 

Colormap
Displays the installed colormap.  It also installs its own Hue ramp on Enter and uninstalls it on Exit.

Color Wheel
Draws a wheel of colors inside a window. You can use the menu to switch between gray and color, and to vary the number of shades, the saturation, and the intensity of the colors displayed.

Fader Uses colormap animation to fade between two differnt strings with an interesting visual effect.  The menu is used to change the fading rate and to pick a different set of strings to fade. 

Journaling
A demonstration of the Record and Play features of the  event distribution system.

Calculator
The simple four-function calculator in Reverse Polish Notation style.

X11 demos

xterm
The standard X11 terminal emulator.

XView PostScript
X11 access to PostScript revealed.

Ico The original Icosahedron. 

Solid Ico
The same as Ico, but uses colormap double buffering.

Psycho
Another Ico demo, which uses multiple windows.

Maze A non-interactive maze generator and solver. The program will generate and draw a maze in the window.  It will then solve the maze using a backtracking algorithm, showing all of its attempts along the way. 

Muncher
Tests graphics performance.

Plaid Another graphics performance test. 

Puzzle
A simulation of the 15 tiles in a 4x4 grid game.

Worm
Slithering worms and a rotating colormap.

Xsol Solitare simulator. 

FILES

$XNEWSHOME/etc/NeWS/hyperdecks/xnewsdemo.hv
the hyperview(1) deck which has the hypertext data for the DemoNavigator. 

$XNEWSHOME/demo/∗
All of the demo programs run by the DemoNavigator. 

SEE ALSO

psh(1), pageview(1), hyperview(1)

Programmer’s Guide

PostScript Language Reference Manual , Adobe Systems Inc., Addison-Wesley

TRADEMARK

is a registered trademark of Adobe Systems Inc. 
 

Solbourne Computer, Inc.  —  23 July 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026