📄 graphics_demos.6
字号:
.\" @(#)graphics_demos.6 1.1 88/03/04 SMI;.TH GRAPHICS_DEMOS 6 "4 March 1988".SH NAMEgraphics_demos, bouncedemo, cframedemo, framedemo, goban, jumpdemo, maze, shaded, show, showmap, spheresdemo, stringart, suncube \- graphics demonstration programs.SH SYNOPSIS.B /usr/demo/bouncedemo.RB [ " \-d \fIdev " ].RB [ " \-n\fIx " ].RB [ " \-r " ].RB [ " \-q " ].LP.B /usr/demo/cframedemo.RB [ " \-d \fIdev " ].RB [ " \-n\fIx " ].RB [ " \-r " ].RB [ " \-q " ].LP.B /usr/demo/framedemo.RB [ " \-d \fIdev " ].RB [ " \-n\fIx " ].RB [ " \-r " ].RB [ " \-q " ].LP.B /usr/demo/goban.I game.LP.B /usr/demo/jumpdemo.RB [ " \-c " ].RB [ " \-d \fIdev " ].RB [ " \-n\fIx " ].RB [ " \-r " ].RB [ " \-q " ].LP.B /usr/demo/maze.LP.B shaded.I object.RB [ " \-d \fIdev " ].LP.B /usr/demo/show.IR rasterfile " [ " rasterfile " .\|.\|. ]".LP.B /usr/demo/showmap.RB [ " \-d \fIdev " ].RB [ " \-q " ].LP.BR /usr/demo/spheresdemo.RB [ " \-d \fIdev " ].RB [ " \-n\fIx " ].RB [ " \-r " ].RB [ " \-q " ].LP.B /usr/demo/stringart.RB [ " \-d \fIdev " ].RB [ " \-q " ].LP.B /usr/demo/suncube.RB [ " \-d \fIdev " ].RB [ " \-q " ].SH AVAILABILITYThese demos are available with the.I Demossoftware installation option. Refer to.TX INSTALLfor information on how to install optional software..SH DESCRIPTION.IX demos graphics_demos.IX demos bouncedemo "" "\fLbouncedemo\fR \(em bouncing square graphics demo".IX bouncedemo "" "\fLbouncedemo\fR \(em bouncing square graphics demo".IX demos cframedemo "" "\fLcframedemo\fR \(em graphics demo".IX cframedemo "" "\fLcframedemo\fR \(em graphics demo".IX demos framedemo "" "\fLframedemo\fR \(em graphics demo".IX framedemo "" "\fLframedemo\fR \(em graphics demo".IX demos goban "" "\fLgoban\fR \(em go board graphics demo".IX goban "" "\fLgoban\fR \(em go board graphics demo".IX demos jumpdemo "" "\fLjumpdemo\fR \(em graphics demo".IX jumpdemo "" "\fLjumpdemo\fR \(em graphics demo".IX demos maze "" "\fLmaze\fR \(em graphics demo".IX maze "" "\fLmaze\fR \(em graphics demo".IX demos shaded "" "\fLshaded\fR \(em graphics demo".IX shaded "" "\fLshaded\fR \(em graphics demo".IX demos show "" "\fLshow\fR \(em graphics demo".IX show "" "\fLshow\fR \(em graphics demo".IX demos showmap "" "\fLshowmap\fR \(em graphics demo".IX showmap "" "\fLshowmap\fR \(em graphics demo".IX demos spheresdemo "" "\fLspheresdemo\fR \(em graphics demo".IX spheresdemo "" "\fLspheresdemo\fR \(em graphics demo".IX demos stringart "" "\fLstringart\fR \(em graphics demo".IX stringart "" "\fLstringart\fR \(em graphics demo".IX demos suncube "" "\fLsuncube\fR \(em graphics demo".IX suncube "" "\fLsuncube\fR \(em graphics demo".LP.SS bouncedemo.B bouncedemodisplays a bouncing square..SS cframedemo.B cframedemodisplays a series of color frames, each of which contains a 256by 256 image of eight-bit-deep pixels..B cframedemolooks for the frames in the files.B frame.1through.B frame.nin the current working directory, and displaysthem in numerical order. When run in the directory.B /usr/demo/globeframes,.B cframedemodisplays a rotating view of the world..SS framedemo.B framedemodisplays a series of frames, each of which contains a 256 by 256 imageone-bit-deep pixels (that is, the image is a square monochrome bitmap,with 256 bits on a side)..B framedemolooks for the frames in the files.B frame.1through.B frame.nin the current working directory, and displaysthem in numerical order. A set of sample frames is availablein the directory.BR /usr/demo/globeframes/* ..SS \fIInteractive Commands\fR.LPIf you move the cursor onto the image surface, you can type certaincommands to affect the rate at which the frames are displayed. Theinitial rate is one frame per second:.TP.B fRemove 1/20th of a second from the interval..TP.B FRemove one second from the interval..B Ffmakes the interval as small as possible..TP.B sAdd 1/20th of a second..TP.B SAdd one second..SS goban.B gobanis Japanese for "go board". It is an automatic board, butdoes not play go. If you invoke it with no.I gameargument,.B gobandisplays an important historical game writtenabout by the Nobel Prize winning author, Yasunari Kawabata in.I "The Master of Go,"a book which conveys the spirit of this ancient and facinating game..LPStones are placed on the board by selecting a grid point withthe cursor and pressing the left-button. As stones are played,the color to play next alternates between black and white.The center-button, when pressed in the board area, backs up a move(undoes it). The right-button movesforward through the game's sequence of moves..LPStepping backward and forward does not alter the game until theleft-button is pressed to place a stone,at which time a new branch in theline of play is begun. You can select branches by clicking the leftbutton on moves with lettered labels on the board..LPA text subwindow displays any commentaryattached to a move. You can editthese comments, which are saved along with the game..SS jumpdemo.B jumpdemosimulates the famous.B Star Warsjump to light-speed-sequence usingvector drawing. Colored stars are drawn on color surfaces..SS maze.B mazecreates a random maze-pattern and tries a depth-first solution.If used in lockscreen, remember to run in "nice" mode since thisdemo consumes lots of cpu cycles..SS Shaded.B shadeddisplays shaded objects. Objects are located in.B usr/demo/\s-1DATA\s0and include an icosahedron, glass, soccer ball, space shuttle,egg and pyramid. This demo can take up to 40 seconds to startup with som objects. Mouse input is required:.LP.SS \fIInteractive Commands\fR.LPClick the left- and middle-buttons on the left grid to set thex-y orientation. Click the middle-button on the right grid toset the z orientation. Click the left-button away from eithergrid to open the features menu, from which you can make selectionsusing the left-button..LPAfter selecting the desired features, click the left-button awayfrom all objects to exit the features menu..LPClick the right-button to begin drawing the object. When thefigure is finished, click the right-button to return to thegrids and menu, or type.B qto exit..SS show.B showdisplay rasterfiles in a window or on a raw screen.Sample files are contained in the directory.BR /usr/demo/\s-1COLORPIX\s0 .Running.RS.B "show \s-1COLORPIX\s0/*".REfrom.B /usr/demowill continuously cycle through the sample images..SS spheresdemo.B spheresdemocomputes a random collection of shaded spheres.Colored spheres are drawn on color surfaces..SS showmap.B showmapdisplay 10 map projections continuously until interrupted.Each map is displayed for about 5 seconds.The maps are in the directory.BR /usr/demo/\s-1MAPS\s0 ..SS stringart.B stringartcontinuously display a different "work of art" every 5 seconds.A total of 24336 different designs are possible. On color surfacesthe designs will loop through the colors: red, olive, green, turquoise,blue, and violet..SS suncubeDisplay a cube with the.SM SUNlogo mapped to each face. Will run continuously until interrupted.On color surfaces the colors of logo segments change gradually. Onmonochrome surfaces the logo segments remain hollow..SH OPTIONS.TP.B \-cRotate the color map to produce a sparkling effect..ne 3.TP.BI \-d " surface"Run the demo on a surface other than the window or system console,for instance:.RS.IP.B bouncedemo -d /dev/cgone0.RE.TP.BI \-n xDraw.I xitems, or repeat a sequence.I xtimes..TP.B \-rRetain the window. This allows the image to reappearwhen uncovered instead of restarting the demo..TP.B \-qQuick exit. Useful for running several demos from within ashell script..SH SEE ALSO.BR gfxtool (1),.BR gp_demos (6)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -