Very cool! Five minutes of this felt strangely soothing in my head, after a few nights of not enough sleep.
Being able to set a max duration would be neat, in case it's unsafe to lose track of time and let the pattern run for too long?
Classic outdated comment BTW ;)
setInterval(flickerImage, 250); // 8hz