Pythagorus, compass and logs