We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to output a random image ranging from 3-4 images everytime I click the mouse. How do I make this possible?
What have you tried so far? This next link will give you an idea or how to get the images from a folder:
https://forum.processing.org/two/discussion/20063/load-folders-of-pimages-multiple-folders-unknown-numbers-non-sequential-filenames
Kf
Tag: imageFilter
Declared PImage as a global variable. Under the function mousePressed, image will be outputted under mouseX and mouseY
Answers
What have you tried so far? This next link will give you an idea or how to get the images from a folder:
https://forum.processing.org/two/discussion/20063/load-folders-of-pimages-multiple-folders-unknown-numbers-non-sequential-filenames
Kf
Tag: imageFilter
Declared PImage as a global variable. Under the function mousePressed, image will be outputted under mouseX and mouseY