Library Overview
The gl library allows you to create simple 2D animations, games, and visualizations.
You can draw shapes (lines, circles), handle windows and keyboard input, set background color, and control FPS.
Getting Started
- Install the GL library. Click here
- Initialize the library with
gl.init(). - Create a window:
gl.initwindow("Title", width, height, ["options"]). - Set the background color:
gl.background(r, g, b, a). - Draw objects (lines, circles) and control animations.