I have a simplistic setup where I'm using LEDs and a relay (Due to higher voltages). The issue I'm wanting to solve here is that the LED and relay circuit is "too responsive" and goes from vcc to 0v in an instant. My goal is to have the led fade down from vcc to 0v when the relay opens. Now my first thought here is to add a single electrolytic "smoothing capacitor" in parallel with the load to slow the change in voltage, but my circuit fits within a moderately tight space and a 330uf 130v capacitor is moderate in size. Perhaps there's a way I can slow the capacitors charge and discharge rate with something like a resistor (the issue then arises of heat and bad efficiency) or an inductor rather than looking for higher capacitor "size" values. I tried adding lower voltage capacitors with the same capacity and it just ends up dimming the leds. Can't really seem to find the specific data I need to solve this problem.