change canvas id

This commit is contained in:
Asif Bacchus
2020-04-08 04:27:32 -06:00
parent e52855f954
commit 1a519a1d55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
https://youtu.be/d620nV6bp0A
*/
const canvas = document.getElementById('canvas1');
const canvas = document.getElementById('particles');
const canvasContext = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;