swapp alive/dead color

This commit is contained in:
histausse 2021-05-11 22:39:07 +02:00
parent b6e45e24cb
commit 645cf7d32c
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -3,9 +3,9 @@ import { Universe, Cell } from "wasm-game-of-life";
import { memory } from "wasm-game-of-life/wasm_game_of_life_bg";
const CELL_SIZE = 5; // px
const GRID_COLOR = "#CCCCCC";
const DEAD_COLOR = "#FFFFFF";
const ALIVE_COLOR = "#000000";
const GRID_COLOR = "#444444";
const DEAD_COLOR = "#000000";
const ALIVE_COLOR = "#FFFFFF";
const universe = Universe.new();
const width = universe.width();