arduino code for the led rings. keep in mind this is using the OCTOLED teensy expansion. for only a few rings you need to change the FastLED init stuff.
WARNING i did not proof read or clean up or comment this code yet. one day hopefully.
same code is in the pastebin somewhere in this hackaday