blob: a89a502138adc2f1bdfa525aa414cf8f08f42a8c [file] [log] [blame]
Guido van Rossum453bd401992-03-30 13:18:37 +00001These demos run only on SGI machines and require the 'gl' built-in module.
2The demonstrate the abilities of SGI's GL library as well as the ease of
3GL programming in Python. Most demos require the Z-buffer (aka
424-bitplane) option. Press ESC to get out of any of them.
5
6backface.py Demonstrates the 'backface' GL function.
7
8kites.py Show 3 flying kites. Demonstrates the rendering speed
9 obtainable by Python programs.
10
Guido van Rossumee2ba6c1992-12-14 13:01:30 +000011kunst.py Cute demo showing a ball suspended on four cables in
12 the central room of the CWI building. You can specify
13 three functions Fx(t), Fy(t), Fz(t) which define the
14 movement of the ball. Try something like sin(t),
15 cos(t), sin(2*t).
16
Guido van Rossum453bd401992-03-30 13:18:37 +000017mclock.py A colorful clock with more options than you can
18 remember. Works on 8-bit machines, but allows more
19 colors on 24-bit machines. See mclock.doc for more
20 info.
21
22mixing.py Demonstrates the effect of color mixing: through
23 frequent color switching it gives the effect of white
24 light.
25
26nurbs.py A simple demonstration of the 'nurbs' GL functions.
27 Press left mouse button to toggle surface trimming.
28
29zrgb.py Displays a 3-D Gouraud-shaded figure which can be moved
30 around with the mouse.
31
32glstdwin/ This is quite different: a partial STDWIN emulation
33 using GL! Requires only small changes to Python
34 programs that use STDWIN. Some features not yet
35 implemented, e.g., scroll bars.