Examples Table

Table

Comma-Separated Values, or CSV, is a format for writing data in a file. p5 can work with this format using a p5.Table. This example is based on Daniel Shiffman’s Loading Tabular Data example for Processing. It uses a class to organize data representing a bubble. When the sketch starts, it loads the data for four bubbles from a CSV file. The visitor can add new bubbles, download an updated CSV file, and load in a CSV file.

Contributors: Caleb Foss, Stalgia Grigg

Modified from Load Saved Table.

Originally ported from the Processing example Loading Tabular Data.

Table is licensed under CC BY-NC-SA 4.0.