Hello everyone!
This is my first post on the p5.js forum. Iām excited to join this community and look forward to learning more about what youāre all doing and seeing how I am able to contribute.
Iām currently prototyping āImage Explorerā , a P5 based set of tools for the visual exploration of image collections. You can find the code, background and other relevant materials (including code snippets in the P5 web editor for ease of testing/duplication) here: https://jwyg.github.io/image-explorer/
In the sketches Iāve created so far images are provided by URLs in the function preload()
section of the sketch.js file. See here for an example.
But Iād like to enable users to input a set of image URLs, for example through copying and pasting into a text box or by uploading/pointing to a CSV file containing the URLs in a pre-specified format. Iāve created a GitHub issue with more detail on the desired behaviour here.
I had a quick go at using loadtable()
to import data from a CSV file, but seemed to run into issues with parsing and displaying the images. Iām currently leaning towards trying with a text box instead. Would createInput()
be a good place to start for this?
Iād love to hear about othersā experiences in doing similar things, what worked and any advice or suggestions you might have. Code examples and tips would be very warmly welcomed!
Hope you all and your loved ones are all doing okay and look forward to following further discussions.
Jonathan