Hello @willdknyc,
Welcome to the forum.
Please read:
Welcome to the Processing Foundation Discourse
There is a useful guide in there: Guidelines - Asking Questions
You should also share the version of p5.js that you are using; I got different errors with the latest p5.js 2.x version.
Your code is not runnable as is and I had to simplify it to run without an image.
Once simplified the canvas was blank (all one color) and this worked to get different colors (replaces image for testing):
//let c = get(xPos, yPos);
let c = color(random(255), random(255), random(255));
I had to correct an error with keyPressed() first (commented it out entirely for starters) and then I saw this with version p5.js 1.11.13 (Default):
And code works with the Loop Protection Off:
:)

