<commit_before># sgogl
Simple Graphics - OpenGL
aka SGOGL

Just my shitty little graphics library I made partly for fun and partly for a simple graphics library for other projects. I used GLFW and SOIl to make it

The design was very greatly influenced and inspired by BearLibTerminal (http://foo.wyrd.name/en:bearlibterminal). A truly great graphics library that is a beacon of simplicity
This, however, isn't BLT, it's SGOGL. Good luck trying to use it. I understand it because I made it and I don't care if anyone else can or can't understand it.

Its kind of just like a proxy for GLFW *and OpenGL* to make it easy(er) to make a window and start rendering stuff

## Use:

Here is a bare minimum program to get something on the screen:

```c
#include "sgogl.h"

int running = 1;
void window_close_cb(){
  running = 0;
}

void main(){

  gr_open();
  gr_window_close_function(&window_close_cb);

  while(running){
    gr_clear();
    gr_poll_events();<commit_msg>added details<commit_after># sgogl
Simple Graphics - OpenGL
aka SGOGL

Just my shitty little 2D graphics library I made partly for fun and partly for a simple graphics library for other projects. I used GLFW and SOIl to make it

The design was very greatly influenced and inspired by BearLibTerminal (http://foo.wyrd.name/en:bearlibterminal). A truly great graphics library that is a beacon of simplicity

This, however, isn't BLT, it's SGOGL. Good luck trying to use it. I understand it because I made it and I don't care if anyone else can or can't understand it.

Its kind of just like a proxy for GLFW *and OpenGL* to make it easy(er) to make a window and start rendering 2D stuff

## Use:

Here is a bare minimum program to get something on the screen:

```c
#include "sgogl.h"

int running = 1;
void window_close_cb(){
  running = 0;
}

void main(){

  gr_open();
  gr_window_close_function(&window_close_cb);

  while(running){
    gr_clear();
    gr_poll_events();
{'fraction_non_alphanumeric': 0.07021166752710377, 'fraction_numerical': 0.003097573567372225, 'mean_word_length': 4.195710455764075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4453115', 'n_tokens_mistral': 599, 'n_tokens_neox': 564, 'n_words': 286}