ActiveComputation.tioga
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
Rick Beach, July 20, 1987 8:51:57 pm PDT
Sampler of Active Documents
Doug Terry and Rick Beach
© Copyright 1987 Xerox Corporation. All rights reserved.
Abstract: This sampler demonstrates a document with several embedded computations. For example, one part of the document is a time-of-day reminder. Another example is a database query from a telephone whitepages database. A third example incorporates the result of executing a command file within the Cedar environment. A final example is an animated sequence of a potential surface.
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Time of day reminder
Every time this paragraph becomes visible on the display, it updates the current time of day:
current time
2. Telephone whitepages database query
The following telephone enteries come from the whitepages database of Doug Terry. They appear in this document as the result of executing a database query: find all entries with names that begin with `T'
///Users/Terry.pa/Whitepages/TerryTDir.lbdf
name(wildcard): terry*
///Users/Terry.pa/Whitepages/TerryTDir.lbdf
name(wildcard): terry*
3. Execute a Cedar command file
The following material is not persistent with the document. It was generated by executing a series of commands at the workstation.
Today's date:
date
date
Current Cedar version:
version
version
Workstation name and net address:
hostname
hostname
4. Animation of light on a potential surface
This animation demonstrates the connection between a document and computation. A small animated movie of light reflecting from a potential surface provides insight into the structure of this surface.
Begin animation
Ct Movie 0 0 80 80 24 -name /Ivy/Bloomenthal/AIS/TubeMovie.ais
Here is the sequence of computed images that formed this brief animation:
[Artwork node; type 'Artwork on' to command tool]