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