The code is a modified version of the animate.go example included in the FauxGL upstream repository. Thus, it retains the MIT license originally associated with that code.
animate.go