()
| 295 | |
| 296 | //start or stop animation |
| 297 | function pausePlayAnimation(){ |
| 298 | if(playAnimationToggle == true){ |
| 299 | playAnimationToggle = false; |
| 300 | clearInterval(animationInterval); |
| 301 | } else { |
| 302 | playAnimationToggle = true; |
| 303 | createAnimation(); |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | function saveImage(){ |
| 308 | const link = document.createElement('a'); |
no test coverage detected