Circuit is simple voltage dropping capacitor of 225j is connected in series with phase line of ac this is a non polarised capacitors so it can be connected.
Simple 12v power supply circuit without transformer.
Here is the circuit diagram and explanation for transformerless power supply.
To be safe when there is a short circuit series always use a fuse on the input voltage is 220v.
For example if the transformer secondary is rated at 12 volts then the acquired 12 volts from the transformer secondary will be a 12 volt ac across the relevant wires.
As the name defines a transformerless power supply circuit provides a low dc from the mains high voltage ac without using any form of transformer or inductor.
The transformer is one of the main components in a power supply circuit because we need to convert the higher voltage available in the power point into a lower voltage we needed.
Designing a simple dual power supply actually involves a just a center tap power supply and a bridge rectifier along with a couple of high value filter capacitors as shown below.
And this series of works using capacitive reactance and resistance are not using this will reduce the heat on the circuit.
Here is a series of power supply without a simple transfomer.