Help with Processing Brightness Example

https://processing.org/examples/brightness.html

hello, I’m studying with this tutorial.

almost last line,

pixels[y*width+x] = c; <<

ArrayIndexOutOfBoundsException: 230400

error…

Please let me know how. Thank you.

I think that the image must be exactly the same size as the window

2 Likes

Thanks to you, I’ve solved it. :grin: :grin:

1 Like