Warning
p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
Use addRow() to add a new row of data to a p5.Table object. By default, an empty row is created. Typically, you would store a reference to the new row in a TableRow object (see newRow in the example above), and then set individual values using set().
If a p5.TableRow object is included as a parameter, then that row is duplicated and added to the table.
Examples
Syntax
addRow([row])
Parameters
Returns
Related References
p5.Table
Table objects store data with multiple rows and columns, much like in a traditional spreadsheet.
p5.TableRow
A TableRow object represents a single row of data values, stored in columns, from a table.
addColumn
Use addColumn() to add a new column to a Table object.
addRow
Use addRow() to add a new row of data to a p5.Table object.