Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The joy of building a ray tracer, for fun, in Rust. Parent comment
There are two PPM formats, both very simple: http://netpbm.sourceforge.net/doc/ppm.html
For example, the header
printf("P6\n%lu %lu\n255\n", width, height);
There are no comments on this comment yet.
There are two PPM formats, both very simple: http://netpbm.sourceforge.net/doc/ppm.html
For example, the header
followed by width*height triplets of raw bytes representing the RGB values of each pixel.