Principles of Making
by Dineth Mendis
Good article on the topic: https://cmry.github.io/notes/euclidean-v-cosine