this post was submitted on 10 Jun 2025
757 points (98.6% liked)

RPGMemes

12318 readers
934 users here now

Humor, jokes, memes about TTRPGs

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] affiliate@lemmy.world 14 points 4 days ago (2 children)

i wish that it was more common to refer to the metrics in terms of what they are instead of who discovered them. i can’t ever remember off the top of my head if the chebyshev one is supposed to be the diamond metric (L^1^) or the square metric (L^∞^).

[–] Zagorath@aussie.zone 15 points 4 days ago (1 children)

Personally I find Euclidean easy to remember because it matches the much more general Euclidean geometry. So you just remember "this is like, real maths". Manhattan distance is easy to remember because it does basically "refer to the metrics in terms of what they are", so long as you remember that Manhattan famously is a grid. Chebyshev is the hardest, but for me it's a simple matter of "the one that's left over".

I have no idea, based on the name, what diamond and square metrics are supposed to be.

[–] affiliate@lemmy.world 10 points 4 days ago* (last edited 4 days ago) (1 children)

i think that’s a good point and that is a nice way to remember them. i think a lot of it just comes down to personal preference.

i like calling them the diamond/square/circle metrics because those shapes describe the sets of points that have unit length. i’ve found this wikipedia picture to be very helpful, and the diamond/square/circle terminology is my way of paying my respects to the picture.

[–] Zagorath@aussie.zone 7 points 4 days ago (1 children)

Ah right, so "diamond" (depicted as a square rotated 45 degrees) is Manhattan, circle is Euclidean, and square is Chebyshev, then?

[–] affiliate@lemmy.world 5 points 3 days ago

yeah exactly. i understand it as follows:

  • in the manhattan metric, points have length one if the lengths of their coordinates sum to 1. so you get the points (1, 0), (0, 1), (-1, 0), and (-1, -1). and then you connect these four points with straight lines to get the diamond shape. this follows from the observation that if the x coordinate decreases in length by 0.1, then the y coordinate must increase in length by 0.1.
  • in the euclidean metric, the points of length one lie on the unit circle, since x^2^ + y^2^ = 1 is the equation defining the unit circle.
  • in the chebyshev metric, points have length 1 if one of the coordinates has length 1 and the other coordinates have a length smaller (or equal to) 1. and these conditions also describe the square with sides x = ± 1 and y = ± 1.
[–] jmcs@discuss.tchncs.de 2 points 3 days ago

Chebyshev distance can also be called chessboard distance if you want something more descriptive.