This is a real time flag viewer/simulation built in OpenGL. The user can control the wind (strength and direction), the physical parameter of the flag (bend, shear, struct and wind). In order to see more of the physics point of view, you can activate the wireframe option to see the flag in a grid format.