added easing functions for rotation of triangle