Code for Adam's triangle lights