I've attached a very simplified LTSPICE model.
Took some convincing to get LTSPICE to model this without getting stuck in the simulation. It really doesn't like the mains source to be connected via a capacitor only. A few 1Meg resistors to connect "floating" parts of the circuit did the trick. I also replaced the Zeners by a voltage controlled switch (controlled by the rectified mains) and another voltage source to simulate the forward voltage of the LEDs. Makes everything very adjustable to fit reality.
The output power drops quite a lot with the phase shift. On the other hand it doesn't really matter that much if the LEDs run at half the power considering how bright they are. If I find some inductor to shift a second LED the other way a little bit, I got the same output power with less flicker and longer LED life.
Connect a large capacitor in parallel with the bridge rectifier, then connect another capacitor in series with the AC input to limit the current.
That's another nice idea. Now that I got LTSPICE running I'll see what approximate component should be.
To those still saying "it's not worth it" or "just get proper LEDs". The LEDs are totally fine for general lighting use, even with the flicker. This is a project to hack something, to try things out and learn something. I fully intend to use components from parts bin or old PCBs, unless they'd cost me less than a Euro per LED. If I can't do it that way, so be it.
Oh, I also forgot to say:
The metal circuit board must be earthed for safety's sake. It's also quite likely they don't meet the bare minimum safety standards as they will lack sufficient insulation between the live parts and earth. If you mush use them, then I repeat, ensure the aluminium board is properly grounded!
I know this, which is why the heatsink IS already earthed. And not only that, the COB is in a plastic/glass lamp housing (with vent holes for airflow), so the heatsink can't even be touched unless you poke throuh the holes with a screwdriver.
Good, but that might not be enough.
The PCB probably doesn't meet the necessary requirements of creepage and clearances. Earthing shouldn't actually be required for safety. It's there in case the insulation fails. The insulation should be robust enough to withstand high voltage transient spikes due to lightning.
https://www.smps.us/pcbtracespacing.html
Poor insulation also increases the risk of fire. Is the housing flame retardant? I hope so.
All three phases to the home are equipped with surge protectors. There are RCDs on all circuits. The lamp is screwed to a concrete ceiling, the room is pretty much occupied all the time when the light is on.
But you gave me an idea. Building a 3-phase lamp! No flicker anymore! I'd just need to run a few additional wires from the outlets. The only problem: I don't need a sun in my workshop.