Another [optical illusion](https://en.wikipedia.org/wiki/Checker_shadow_illusion) explains that.
The projector, of course, can’t project darkness. However, it can make everything else brighter, so the parts that aren’t illuminated seem black. That’s also the reason why projectors don’t work in sunlight because they’d have to be blindingly bright to get enough contrast.
Latest Answers