in src/components/GeniePiano.tsx [67:76]
constructor(parent: HTMLElement) {
this.parent = parent;
this.canvas = querySelectorOrThrow(parent, HTMLCanvasElement, "canvas");
const context = this.canvas.getContext("2d");
if (!context) throw new Error();
context.lineWidth = 4;
context.lineCap = "round";
this.context = context;
this.prevTimestamp = 0;
}