When I run this program with the editor, it works fine. But when I download the files and try to use Chrome to run the program, it just says “Loading…” but it never loads. It works fine in other browsers.
The sketch works online. Okay. But not locally?
Can you run P5.js examples without issue?
What errors (if any) are showing in the Chrome Console? (Hit F12).
It doesn’t get access to your image. See if you changed the String in loadImage, or if you misplaced/deleted the image in the assets folder. Or renamed the folder.
Edit: Maybe you need to change the String to match your local path.
The path matches, it works in firefox and edge, and the image is still there. GoToLoop, your sketch works, and I tried modeling my code after yours, but It still didn’t work. Is there a way I can download the code to test it?