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

Function draw

assets/js/binary_circle.js:19–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17clear();
18
19function draw(){
20 if(frame == 1){
21 clear();
22 showLetters();
23 }else if(frame == 2){
24 frame = 0;
25 }
26
27 frame++;
28 window.requestAnimationFrame(draw);
29}
30
31function showLetters(){
32 ctx.fillStyle = "#fff";

Callers

nothing calls this directly

Calls 2

showLettersFunction · 0.85
clearFunction · 0.70

Tested by

no test coverage detected