The aim of the study is to study the OpenGL library for presenting the results of solving problems in 2D and 3D graphics. The object of the study is an open graphic library OpenGL, the subject of research is the developed software complex «Graf10», which is implemented in the programming languages Visual C++, Visual C# using OpenGL. Particular attention is devoted to solving the following problems, such as building perspective and orthographic projections, projection and model arrays, working with depth buffer and stencil, lighting and shadows, textures, plotting curves and surfaces. In this case, special attention is devoted to the use of mathematical methods: matrix multiplication and transposition, coordinate system transition, finding the projection onto a given plane, etc. When working with curves and surfaces, authors using the Bezier curves and surfaces, polynomials in 2D and 3D graphics, interpolation splines and Hermite splines, curves and surfaces based on the B-spline. The results and brief characteristics of the developed software complex «Graf10» used in the educational process are presented.