You can use the FastLED library for Arduino, and python with Raspberry Pi

Download WS2813 datasheet (.pdf) for more information.