Addressable LEDs

You could with C++, the code linked here could be easily ported.

or for Python.