This commit is contained in:
platane
2023-09-23 19:57:32 +02:00
committed by Platane
parent 8eddcbdbea
commit 743771147d
12 changed files with 705 additions and 527 deletions

View File

@@ -43,7 +43,7 @@ export const createGif = async (
const { width, height } = getCanvasWorldSize(grid0, drawOptions);
const canvas = createCanvas(width, height);
const ctx = canvas.getContext("2d")!;
const ctx = canvas.getContext("2d") as any as CanvasRenderingContext2D;
const grid = copyGrid(grid0);
const stack: Color[] = [];