MCPcopy Create free account
hub / github.com/collidingScopes/shimmer / pausePlayAnimation

Function pausePlayAnimation

wavyImage.js:297–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

wavyImage.jsFile · 0.85

Calls 1

createAnimationFunction · 0.85

Tested by

no test coverage detected