How did I do what? Are you referring to a specific element of this show, or the process of making Tesla light shows in general? [github.com/teslamotors/light-show]
Last year Tesla added a feature that lets us program these short shows into our car. There is some open source software (xLights) that we use to program the show.