Animated triangle added: rotation function works!