If possible, some sort of GUI / Menu should be present so the user can choose the file and it automatically goes into the data folder, so it can process the image immediately and perform the painting. My teacher/mentor does not wish for it to be p5js for some reason, but the first two steps were useful. Thank you!
Answers
What do you mean by upload? If you just want a user to choose some picture file, you may use Processing's selectInput() or the library Drop:
However, if you also need your sketch to run online, you're better off converting it to p5.js:
And use either its createFileInput() or p5.Element::drop() along w/ p5.File as callback's parameter:
If possible, some sort of GUI / Menu should be present so the user can choose the file and it automatically goes into the data folder, so it can process the image immediately and perform the painting. My teacher/mentor does not wish for it to be p5js for some reason, but the first two steps were useful. Thank you!
Previous posts that you might be interested in exploring:
https://forum.processing.org/two/search?Search=jfilechooser
https://forum.processing.org/two/search?Search=selectinput
Kf