Not to get too technical, here's the scoop on how dimming curves work (in general; I have not seen any of RJ's code to see how he does it...)
We use PWM dimming. Each cycle of the AC power waveform is broken down into 256 parts. If we leave the lights off for the first half and turn them on for the second half, they will in theory be at half brightness. Leave them off for 25% and on for 75% of the time and they will be at 3/4 brightness, etc.
Easy in theory, but in real life, neither the lights nor your eyes are linear. So 50% on/off timing isn't really 50% perceived brightness, and changing the percentage linearly changes the brightness more like a logarithmic curve. What light curves do is apply a suitable correction so that a linear change in what you ask the controller to do results in a linear change in perceived brightness.
/mike