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

Function animate

assets/js/bubbleParticle.js:123–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123function animate(){
124 ctx.clearRect(0,0,canvas.width,canvas.height);
125 for(let i=0;i<particleArray.length;i++){
126 particleArray[i].draw();
127 particleArray[i].update();
128 }
129
130 requestAnimationFrame(animate);
131}
132animate();
133

Callers 1

bubbleParticle.jsFile · 0.70

Calls 2

drawMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected