For loop not incrementing - Led Strip

You don't update currentMillis.

What happens is

i = 0 -> the if statement is correct -> previous = current
i = 1 -> current - previous is always zero -> if statement false
i = 2 -> if statement false
...

When you finish the for loop, then your currentMillis gets updated.

Try to rewrite this.