modulation with millis

Are you saying you need to vary the on and off times?
Just use the blink without delay example, and assign a different value to "interval" when you change the LED state.