Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
AlessandroTambelliniPublic archive

About

Draw ppm images

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppmg

Draw ppm images

Build

chmod +x build.sh
./build.sh [sdl] # image.ppm is generated in the root folder and the executable is stored in 'bin' folder

Notes

  • A ppm viewer is required to look at the generated image: PPM Viewer.
  • Using the optional parameter 'sdl', it's possible to visualize the generated image inside a window by running the generated executable (located in bin folder)

Install SDL (Optional)

On Ubuntu/Debian:

sudo apt-get install libsdl2-dev

On Fedora/RHEL/CentOS:

sudo dnf install SDL2-devel

Credits: New Graphics Library in C (Olive.c Ep.01)

About

Draw ppm images

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages