Skip to content

Commit 7a910ee

Browse files
committed
Remove some errors. Build currently fails.
1 parent 04b30e2 commit 7a910ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/sketch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ import '../../assets/style/sketch.css';
2828

2929
function sketch(p5: P5Lib): void {
3030
p5.setup = (): void => {
31-
p5.createCanvas(720, 720);
31+
p5.createCanvas(720, 720, P5Lib.P2D, new HTMLCanvasElement());
3232
};
3333

3434
p5.draw = (): void => {
3535
p5.background(0);
3636
p5.fill(255);
37-
p5.ellipse(p5.mouseX, p5.mouseY, 100, 100);
37+
p5.ellipse(360, 360, 100, 100);
3838
};
3939
}
4040

0 commit comments

Comments
 (0)