metaspread.videogenerator

Functions

create_combined_video(images_by_grid_list, ...)

Given a list of lists of (timestep, image_path) tuples, creates a video showing the dynamics of the images over time, with one row for each grid.

create_video_from_images(images_list, ...)

creates a video showing the dynamics of the images over time.

generate_videos(nameOfTheSimulation, frameRate)

group_images_by_grid(images_folder_path)

Groups all images (.png) on the images_folder_path by grid and returns a list of lists, where each list contains the path to the corresponding grid.