Prehistoric humans had a surprisingly sophisticated understanding of geometric rules, as this study suggests.