This is a variant of the Adafruit Chameleon Scarf that I recently made. I made the color fade and randomly twinkle rather than stay on all the time. I also added a button to restart the color sample sequence as well. To include some motion feedback, I used a Fast Vibration Sensor Switch to increase the number of pixels that go bright when it is triggered.
This is using 20 NeoPixles and the wires between them are rather long so that they can be spread out over a larger aria. The color sensor and button are also at the end of a long wire so that they could be placed inside of a fabric sheathe for easy color sampling. This is the same with the last NeoPixle in the chain so you can see the other puffball blink before the color is sampled.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.