()
| 64 | |
| 65 | let t = 0; |
| 66 | const tick = () => { |
| 67 | t += show.speed; |
| 68 | while (t > 0) { |
| 69 | if (!show.paused) show.tick(show.context, show.canvas); |
| 70 | show.supertick(show.context, show.canvas); |
| 71 | t--; |
| 72 | } |
| 73 | |
| 74 | requestAnimationFrame(tick); |
| 75 | }; |
| 76 | |
| 77 | addEventListener("resize", resize); |
| 78 | addEventListener("keydown", (e) => { |
nothing calls this directly
no outgoing calls
no test coverage detected