Following along with the Ray Tracing in One Weekend book.
The book gives step by step instructions to write a ray tracer in C++. In this repo I follow the steps but I am using C instead of C++. The output of the program is a PPM image file.
make
./main > image.ppm
For more information about this repository, see the blog post where I talk about what I did here.