Animated flag

Use trigonometric functions to animate a flag