I am trying to figure out how to access files. All the documentation I’ve seen says that loadImage() etc will only work on files in the data directory. (It seems very strange, that I can’t give an absolute pathname… but hey, ok.)
But…where is the data directory? I set up a test sketch and before I named it, it lived in a very long named place which would be super awkward to access for popping input files into it.
So I named it something sensible by doing Save. Now I can find its path by doing Sketch/ShowSketchFolder, and it looks like this:
But there’s no data directory in it. I’ve been looking at the Reference documentation and Tutorials and stack overflow and this forum for a very long time (…a few hours) and I am totally stuck. If input can only come from a data directory - where is this directory? Do I need to create it for each sketch?
This must be very simple. Can someone advise?