IN101 project on Conway's Game of Life
|
Source code for a naive implementation of Conway's game of life ppm image printer. More...
#include "naive_pbm_writer.h"
Functions | |
void | naive_generate_image (universe u, int idx) |
Generate the image corresponding to a universe. Image will be of PPM format and created in the out folder, with the filename idx-XXX.ppm where XXX in the the image index. More... | |
void | naive_generate_image_filename (universe u, char *filename) |
Generate the image corresponding to a universe. Image will be of PPM format. More... | |
Source code for a naive implementation of Conway's game of life ppm image printer.
void naive_generate_image | ( | universe | u, |
int | idx | ||
) |
Generate the image corresponding to a universe.
Image will be of PPM format and created in the out
folder, with the filename idx-XXX.ppm
where XXX in the the image index.
u | universe |
idx | image index, used for its filename |
void naive_generate_image_filename | ( | universe | u, |
char * | filename | ||
) |
Generate the image corresponding to a universe.
Image will be of PPM format.
u | universe |
filename |