Principle of spatial light modulator