Reducing unraveled JS by creating utility functions

This commit is contained in:
Rezmason
2023-08-25 11:35:45 -07:00
parent 428f1d7d16
commit 88a6a59296
2 changed files with 236 additions and 461 deletions

View File

@@ -38,7 +38,7 @@ document.body.onload = async () => {
[ 175, 249, 158, 255, ],
[ 175, 249, 158, 255, ],
[ 175, 249, 158, 255, ],
].flat();
];
init(gl);
load(gl, image, palette);