BSplines demo done with OpenGL shaders