I have in setup()
img = loadImage(“download.jpg”);
and in draw()
i,ve got this error(Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///G:/p5/ex1/download.jpg. (Reason: CORS request not http).
!!! The code runs in web editor ,But it doesn’t run on my local browser.