Referencia delay()

delay()

Changes the delay between frames in an animated GIF.

The first parameter, delay, is the length of the delay in milliseconds.

The second parameter, index, is optional. If provided, only the frame at index will have its delay modified. All other frames will keep their default delay.

Ejemplos

Sintaxis

delay(d, [index])

Parámetros

d

delay in milliseconds between switching frames.

index

index of the frame that will have its delay modified.

Notice any errors or typos? Please let us know. Please feel free to edit src/image/p5.Image.js and open a pull request!

Referencias Relacionadas