make gameoflife more configurable and fix pull reviews

This commit is contained in:
thoxy committed 2025-05-30 20:04:52 +02:00
1 parent 98af3a98c8
commit fa46155f72
4 files changed
+76 -112

No files matched your search

+1 -1
View File
@@ -366,7 +366,7 @@ pub fn main() !void {
animation = color_mix.animation();
},
.gameoflife => {
var game_of_life = try GameOfLife.init(allocator, &buffer);
var game_of_life = try GameOfLife.init(allocator, &buffer, config.gameoflife_fg, config.gameoflife_entropy_interval, config.gameoflife_frame_delay, config.gameoflife_initial_density, config.gameoflife_randomize_colors);
animation = game_of_life.animation();
},
}