Lego Sherlock Holmes figure focuses a light beam on a Lego criminal with a small magnifying glass.

The LEGO Arduino Cookbook Chapter 6: Programmable LEDs

Here's a video of the programmable Qwiic LED stick project built in Chapter 6 of The LEGO Arduino Cookbook. The buttons on the front panel of the EV3 Intelligent Brick switch between color programs. The first pattern is a binary counter, followed by a walking rainbow, and the last pattern is a slow color change.