Color Pixel Widget Question Help


In this Color Pixelation Widget the question is posed:

Here’s another mind-blowing thing to try: slide the bits per pixel up to 24 bits per pixel. What happens? Can you explain this behavior?

I’m just a newb so I can not! Can I get some help?


I answered this before somewhere, but I can’t find it. So what follows is my visual explanation:

Here you can see how the image is kind of reflected twice in the 24-bit version, but the colors a bit off because of the bit shifting at play.

Hope this helps,



THANK YOU!! You just made my day seeing this in my inbox. It helps a ton. I worked through it with the student asking and we came to a reasonable explanation, but this is REALLY clear and useful.