Skip to content

Instantly share code, notes, and snippets.

Last active November 8, 2019 13:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
createFileInput() for CSV
height: 25
scrolling: no
border: yes
<script async src=></script>
<script defer src=sketch.js></script>
* createFileInput() for CSV (v1.0)
* GoToLoop (2019-Feb-18)
"use strict";
let csv;
function setup() {
function gotFile(f) {
print(`File "${}" of type "${f.type}" was chosen.`);
if ('.csv')) return csv = loadTable(, 'header', print);
console.warn("However it isn't a CSV file!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment