using an array of controllable light sources or a moving aperture or light source