Quaternion rotation shader

Move the mouse to trigger the effect, click to reset it. Shader code in a comment at the end of the source,
http://johnblackburne.blogspot.co.uk/2012/04/quaternion-rotation-shader.html