Skip to content

console.log p5.Table p5.TableRow #761

@shiffman

Description

@shiffman

Also found at Creative Coding fest!

  • Existing feature enhancement
  • tested on chrome Version 67.0.3396.87 (Official Build) (64-bit), mac os X

See: https://editor.p5js.org/icm/sketches/HyK88pH6Q

let data;
function preload() {
  data = loadTable('test.csv');
}
function setup() {
  console.log(data.getRow(0));
}

The p5 web editor console prints a p5.Table and p5.TableRow object as follows:

screen shot 2018-11-11 at 10 13 50 am

Looking in the chrome console I see:

screen shot 2018-11-11 at 10 14 29 am

I'm not sure what the p5 web editor console can easily show, but having it render the data in the object would be helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:HighShould be addressed soon but not critical

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions