i have a project in which an application manipulates video, image, text and sound and creates a sort of a collage from analizing such multimedia files. i know that's perfectly possible using processing, but my question is about the distribution or the access platform. i thought about a web platform, using processing.js, but in that case, external libraries are not available, although i think it would be possible to work with php/javascript and html5 elements such as audio and video.
i could also try to export a java app and put it online, but in that case, can i work with external libraries and access files such as videos and audios?
another possibility i thought about is to export it as an application specific for each OS, but, in the case i use videos, images, etc, are they "embeded" in the app as well? and can an application access information on the web (through APIs or URLs)?
i have this code that creates a slideshow of .jpg images stored in a folder. the thing is i need to update the array at every iteration, since i may need to add images to the folder and these new images need to be added to the array. how can i achieve that? should i use an ArrayList instead? here's the code so far (which loads the images from a folder and shows an image, sequentially, at every second):
int t = 0; File path = new File("/home/mattknelsen/sketchbook/slideshow/imgs"); String[] images = path.list(); PImage img[];