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

Function clear

assets/js/maze.js:309–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307 }
308
309 function clear() {
310 var canvasSize = cellSize * map.length;
311 ctx.clearRect(0, 0, canvasSize, canvasSize);
312 }
313
314 if (endSprite != null) {
315 drawEndMethod = drawEndSprite;

Callers 1

DrawMazeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected