Sample StageManager Files:The following CenterStage samples are available. Each file contains several samples, and each illustrates some aspect of CenterStage's operation. The files include comments that explain what they do and how. [More HTML documentation needs to be written for these.]
The files can be found in the
StageTools/doc/CenterStage/Samplesdirectory of the StageTools distribution. They are listed here in order of increasing complexity.
This file contains simple examples of how to create curves in 2D and 3D, curves with axes, curves dependent on sliders and type-ins, etc.
This file contains simple examples of how to create surfaces in 3D as parametric surfaces or function graphs, in polar or rectangular coordinates, with several domain patches, with various appearance characteristics. Some examples include dependencies on sliders, type-ins or animator widgets.
This file includes samples of how to create tubes around various types of curves via linked objects. Some examples include sliders that affect the tube or the original curve, or involve links that include several objects (like a tube around a torus knot).
This file includes examples of many of the object classes that require links to other objects. It includes offset curves and other curves or surfaces generated in relation to a curves, and vectors related to curves (e.g. the Frenet frame).
This file includes additional examples of linked objects, mostly ones generated from surfaces. For example, it includes offset surfaces, curves on surfaces, vectors related to points on a surface, and some more surfaces that come from curves.
This file includes samples of several other object classes that generate surfaces, including surfaces of revolution, and some "tricks" that can be done with surface objects.
This file contains several different ways to work with polyhedral objects. All the example form the same basic object, but in a variety of ways. Some samples show how to use the
Transform, others show how to create control panels using the
This file includes more polyhedral examples, most showing how to use
Transformcommands to do some special effects by post-processing the faces of the polyhedra.
This file contains several basic examples of how to use the
Levelsobject class to slice an object, in this case a polyhedron. Included are single levels, multiple levels, chunks between two levels, multiple height functions, etc. It also shows how to use an animator widget, a window-based control panel, and an interesting use of
This file contains more examples of the
Levelsobject class, this time slicing a surface. It shows how to make multiple levels, a banded surface, and a contour plot. It uses more complicated height functions, projections, and complex groups.
This file shows how to slice a parametric surface and display the preimage of the slice in the domain of the map. It includes examples of custom control panels, and also the
This file shows several examples of the
Animatedirectives. It includes some fractal computations, illustrations of iterative root-finding techniques, a sample of how a truncated Taylor series improves with more terms, and an example of how to generate a series of OOGL files automatically.
This file contains a series of examples appropriate for a multi-variable differential calculus course. They could be used in-class by the instructor as a demonstration, or as a lab exploration for students. They all include custom control panels and sophisticated linking of objects. Provided are examples for velocity and acceleration vectors for a plane or space curve, the graph of a function of two variables, the xz- and yz-traces of such a function, level sets for such a function, and a exploration of a pathological discontinuous function.
This file contains more multi-variable calculus examples. These illustrate the ideas behind the directional derivative, partial derivatives, and the tangent plane.
This file has several more multi-variable calculus examples. These explore the relationship between the gradient vector field and the level sets of a function, and show how the extrema of a function along the boundary of a region can be evaluated using two different methods (one of which leads to Lagrange multipliers).
This file contains a few examples that didn't fit anywhere else. There are ones including computations involving the bounding box of an object, a sample of how to make help screens for a demonstration, and a sample of how to make widgets visible and invisible.
This file contains the most sophisticated examples. These involve complex custom control panels, with sophisticated interactions between the various widgets, some more extensive programming within objects themselves, plus four-dimensional data and projections to three-space. Included are samples involving stereographic and orthographic projections, projections of the hypercube, graphs of complex functions viewed as surfaces in space, and slicing sequences of the hypercube.