Skip to content

Commit e21cdae

Browse files
feat: add antialias (#68)
This PR turns on antialiasing on the PixiJS renderer. Before: ![image](https://github.com/user-attachments/assets/9ef7c5fb-76ad-4489-a85d-7828735cf2cb) After: ![image](https://github.com/user-attachments/assets/3f1c440b-c478-4714-a547-a1decf64272f) Co-authored-by: Manuel Pol <[email protected]>
1 parent a81aa43 commit e21cdae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import PauseSvg from "./assets/pause-icon.svg";
3131
height: window.innerHeight,
3232
resolution: window.devicePixelRatio || 1,
3333
autoDensity: true,
34+
antialias: true,
3435
});
3536

3637
const canvasPlaceholder = document.getElementById("canvas");

0 commit comments

Comments
 (0)