(* This is a quick demo for the TGLLines object and spline functionality. TGLLines can handle normal lines and cubic splines, each node can have a different color, and the line can be color-interpolated. Note that the camera in this sample is in orthogonal mode, this makes for a quick and easy way to work in 2D with OpenGL (try switching the camera to perpective mode if you don't see the point). *) program Splines; uses Forms, fSplines in 'fSplines.pas' {Form1}; {$R *.RES} begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end.