RNG

Simulating candle flickering with a simple RNG

While preparing to attach the electrical candles to the christmas tree, a question popped into my mind.

There are electrical candles that simulate the flickering of real candles. How complex would an algorithm have to be to be convincing?

I wrote a quick proof of concept in Ruby for a script running in the terminal which just randomly chooses a grey value to display.