TASK 1:  Animated Sine Curve

Write a Python program one.py with PyOpenGL to display an animation of sine function y=Asin(x+B), satifying the following requirements:

The following figure illustrates the expected window application.

TASK 2:  Clamped B-Spline

 Write a Python program two.py with PyOpenGL to display a clamped B-spline, satifying the following requirements:

The following figure illustrates the expected window application, reading the sample control-points.txt provided.

TASK 3:  Hexagonal Pyramid

 Write a Python program three.py with PyOpenGL to display a 3D hexagonal pyramid, satifying the following requirements:

The following figure illustrates the expected window application, reading the sample pyramid-params.txt provided.