moving triangle with compass