NAME: Sin_Wav AUTHOR INFO: Steve Thorpe Application Visualization System Specialist International AVS Center North Carolina Supercomputing Center 3021 Cornwallis Road, PO Box 12889 Research Triangle Park, NC 27709-2889 avs@ncsc.org SOURCE FILES: sin_wav.c TYPE: DATA INPUTS: NONE OUTPUTS: Name Type vector_field field 1D 1-space 1-vector uniform float PARAMETERS: Name Type Default Min Max npoints integer 128 1 360 DESCRIPTION: This little module was written while playing with the graph viewer. I wanted a simple module to spit out a 1D field, and this did the trick. It computes a sin wave, over the range 1..npoints degrees, and spits out a "field 1D 1-space 1-vector uniform float" suitable for display with the graph viewer module. This may be a useful "starter module" if you want to learn how to get your 1D data into AVS. SAMPLE NETWORK: Sin_Wave | | graph viewer