Modified from youtube shorts video by Spark Mind.
In a physical circuit the LED pulses at 60hz , so it appears to be ON steadily.
1N4007
7.5k for 110 VAC or 15K for 220 VAC
68uf/35V electrolytic
LED
For 110 VAC RMS set voltage source to 170 Vpeak
LED typ 10-30 mA , 1.2-3.6 V
This is for educational purpose only!
Warning: DO NOT plug in actual voltage source. Voltage and current at this level is harmful and deadly.