This is a really simple graphics library written in rust. Basically, we generate images byte-to-byte and save them using the ppm format
Running this project is real easy, just make sure you got the rust programming language properly installed on your machine, then at the root folder, run the following command:
cargo run
that one is going to compile the whole project and run it automatically. At the end, you should have got a out.ppm file, which is your generated image.
A really simple example of what such a library can generate is a flag. If you go to the code, you will see the draw_japan_flag function, the result is the following:
This project was inspired on Tsodin's stream: olive c library