WIP
This commit is contained in:
@@ -331,6 +331,10 @@ class Board {
|
||||
}
|
||||
|
||||
toImageData() {
|
||||
return this.ctx.getImageData(0, 0, this.width, this.height);
|
||||
}
|
||||
|
||||
toClampedArray() {
|
||||
return this.ctx.getImageData(0, 0, this.width, this.height).data;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Coords } from "../../types";
|
||||
|
||||
const BASE_FONT_SIZE = 20;
|
||||
const BASE_FONT_SIZE = 24;
|
||||
const FONT_FAMILY = "Fira Mono";
|
||||
|
||||
const drawCoords = (
|
||||
|
||||
Reference in New Issue
Block a user