opacity is declared locally in `for(var i = 0, opacity ....`