MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / clear

Function clear

assets/js/binary_circle.js:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44}
45function clear(){
46 ctx.fillStyle = 'rgba(0, 0, 0,0.1)';
47 ctx.fillRect(0,0,width,height);
48}
49window.requestAnimationFrame(draw);
50window.addEventListener('resize', function(){
51 height = canvas.height = window.innerHeight;

Callers 2

binary_circle.jsFile · 0.70
drawFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected