It take a few more components than that. LEDs can't stand up to much PIV. Your lack of electronics knowledge is showing but to use your oversimplified analysis shows what a ballast could be composed of.
Calculate this 120 Vac across a 1K resistor. First of all your half-wave rectifier will net you about 180 Vdc if smoothed by a cap. That's a ballast loss of about 180 v squared / 1000 Ohms or 32.4 Watts of loss to run a half Watt LED in YOUR ballast circuit. IT would not be done this way but I had fun....LOL It would be done with high frequency inverter / P.S. and more complex circuits.
Just wait until tonight when GW gets out of school and will straighten you out. He knows everything! LOL
200volt rated cap, a 1K resistor and another LED or diode. Period. No farking ballasts. The cap smooths out the wave, the resistor stops the LED from over voltage.
---------------- On Jul 20, 10:58 am, "m II" wrote: LEDs are current devices. Something has to absorb the excess voltage when you control the current supply to it.
Basic woodworking 101.