Different Lights Do Make Me Strange

Riddle: Different lights do make me strange, thus into different sizes I will change.

Answer: pupil