Canvas -Setup
const canvas = document.querySelector('canvas'), c = canvas.getContext('2d');
(window.onresize=e=>{canvas.width=innerWidth,canvas.height=innerHeight})();
(function animate () {
c.clearRect(0, 0, canvas.width, canvas.height);
requestAnimationFrame(animate);
})();
Pandata