IN101 project on Conway's Game of Life
|
Source code for a linked list implementation of Conway's game of life ppm image printer. More...
#include "list_pbm_writer.h"
Functions | |
void | list_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 | list_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 linked list implementation of Conway's game of life ppm image printer.
void list_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 list_generate_image_filename | ( | universe | u, |
char * | filename | ||
) |
Generate the image corresponding to a universe.
Image will be of PPM format.
u | universe |
filename |