I am getting this error : 1st arg can't be coerced to processing.core.PImage
I have three jpgs named img1, img2, img3.
img1=loadImage("pic1.jpg") img2=loadImage("pic2.jpg") img3=loadImage("pic3.jpg")`
The variable names are in a list.
I wanted to iterate through the list using a for loop and call each image in sequence to run a simple animation, but I continue to get the error.
for i in list1: image(i, 100, 100)
Is this not possible with processing or is there a different way to make this work?