// ====================================================================== // Main procedure - this function runs automatically on startup // ====================================================================== void main( ){ // Launch the graph window createGraphWindow(); // Build the GUI (setting window) createSettingWindow(); t = 0.0; // Initialize time variable // Animation loop while( continuesLoop ) { // Calculate coordinates for the wave and pass them to the graph for( int yi=0; yi