#define MULTI_PLOT true //Determine whether or not to plot multiple iterations. #define X_MAX 1.0 // Define extent of reference plane, used in call to gluOrtho2D(...) #define Y_MAX 1.0 #define X_MIN -1.0 #define Y_MIN -1.0 #define N_X 640 // Number o…