.Get(x,y) method to get color from image not working in OpenProcessing

edited October 2017 in JavaScript Mode

I have a Processing sketch that takes the color of pixels at an exact point using img.get(x,y,) but this doesn't work in OpenProcessing when I try to upload my sketch and the colors are just a default black. (By the way, it works perfectly with the exact same code in my Processing IDE on my computer) What did I do wrong?

Link to sketch on OpenProcessing

Sign In or Register to comment.