Skip to content

KPMGE/rust-ppm-graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-ppm-graphics

This is a really simple graphics library written in rust. Basically, we generate images byte-to-byte and save them using the ppm format

how do i run it?

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.

Examples

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

About

ppm image generator written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages