Numeric simulation for optical time-dependent transmission based on Mie theory.