Skip to content

Tag Archives: JavaScript-p5.js

The setFrame() method of p5.Image in p5.js library is used to set the index of the currently visible frame of the GIF animation. Syntax: setFrame(… Read More
The getCurrentFrame() method of p5.Image in p5.js library is used to return the index of the currently shown frame of the GIF animation. Syntax: getCurrentFrame()… Read More
The numFrames() method of p5.Image in p5.js library is used to return the total number of frames of the GIF animation. Syntax: numFrames() Parameters: This… Read More
The duration() method of p5.MediaElement in p5.js library is used to return the duration of the media element on which it is called. This duration… Read More
The get() method of p5.TableRow in p5.js is used to retrieve a value from the given column of the table row. The column can be… Read More
The getNum() method of p5.TableRow in p5.js is used to retrieve a Float value from the given column of the table row. The column can… Read More
The set() method of p5.TableRow in p5.js is used to store the given value to the given column of the table. The column can be… Read More
The volume() method of p5.MediaElement in p5.js is used to set or return the current volume of the media element. The volume can be specified… Read More
The getString() method of p5.TableRow in p5.js is used to retrieve a String value from the given column of the table row. The column can… Read More
The setNum() method of p5.TableRow in p5.js is used to store the given Float value to the given column of the table. The column can… Read More
The hideControls() method of p5.MediaElement in p5.js is used to hide the default media controls for the media element if they are currently shown. Syntax:… Read More
The showControls() method of p5.MediaElement in p5.js is used to show the default media controls for the media element. The control features and design of… Read More
The speed() method of p5.MediaElement in p5.js is used to set or return the current playback speed of the media element. It accepts a single… Read More
The reset() method of p5.Image in p5.js is used to restart an animated GIF and play it from its beginning state. It can be used… Read More
The setString() method of p5.TableRow in p5.js is used to store the given String value to the given column of the table row. The column… Read More

Start Your Coding Journey Now!