MCPcopy
hub / github.com/processing/p5.js / play

Method play

src/image/p5.Image.js:1680–1684  ·  view source on GitHub ↗

* Plays an animated GIF that was paused with * img.pause() . * * @example * let gif; * * async function setup() { * // Load the image. * gif = await loadImage('assets/nancy-liang-wind-loop-forever.gif'); * * createCanvas(100, 100);

()

Source from the content-addressed store, hash-verified

1678 * }
1679 */
1680 play() {
1681 if (this.gifProperties) {
1682 this.gifProperties.playing = true;
1683 }
1684 }
1685
1686 /**
1687 * Pauses an animated GIF.

Callers 15

p5.sound.min.jsFile · 0.45
p5.sound.jsFile · 0.45
setupFunction · 0.45
toggleAudioFunction · 0.45
mouseReleasedFunction · 0.45
drawFunction · 0.45
keyPressedFunction · 0.45
mousePressedFunction · 0.45
keyPressedFunction · 0.45
mousePressedFunction · 0.45
keyPressedFunction · 0.45
playBassFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected