Cool, man. I did some PWM fading of some LEDs and found a similar behavior in that when the light was getting pretty bright, the change in intensity became much less noticeable. It almost looked as though it wasn't fading at all, at that point. What I found was that I needed to employ some gamma correction. Give it a google. If you're interested, I have a simple java program that will accept a range and a gamma correction value as input and will print out the gamma corrected values.
great job
ciprianwiner 10 months ago
Cool, man. I did some PWM fading of some LEDs and found a similar behavior in that when the light was getting pretty bright, the change in intensity became much less noticeable. It almost looked as though it wasn't fading at all, at that point. What I found was that I needed to employ some gamma correction. Give it a google. If you're interested, I have a simple java program that will accept a range and a gamma correction value as input and will print out the gamma corrected values.
TommyBoy7Heads 1 year ago