Using the cuon-matrix.js library to do the rotation