exercise 21: keyboard rotate perspective triangle