Artificial intelligence meets spatial thinking.