Interactive Bezier curves and surfaces using OpenGL