How can I simulate an incandescent bulb fade?

well considering that your end brightness value is an 8-bit integer, you can use sin() to create a sinus curve, it is all just in the math.