this post was submitted on 24 Aug 2024
712 points (96.7% liked)

196

19147 readers
528 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
712
2d trulesformations (lemmy.blahaj.zone)
submitted 2 years ago* (last edited 2 years ago) by nicknonya@lemmy.blahaj.zone to c/196@lemmy.blahaj.zone
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ashelyn@lemmy.blahaj.zone 102 points 2 years ago (5 children)

The scaled down rectangle should be narrower; it's not scaled in this diagram, it's squished.

(Yes I know you can 'scale' objects on one axis but that's usually not how it's taught on an introductory level. Standard scaling assumes object similarity, which is not present in the diagram's 'scaled' rectangle.)

[–] Peppycito@sh.itjust.works 46 points 2 years ago

This is some quality pedantry.

[–] woodgen@lemm.ee 10 points 2 years ago* (last edited 2 years ago) (2 children)

Scaling in 2D has 2 parameters, X and Y, in the example X was at 1 while Y was below 1. You are referring to a subset of scaling transformation where X = Y and the aspect ratio is kept.

[–] Ashelyn@lemmy.blahaj.zone 12 points 2 years ago

Yes, and introductory geometry courses teach students how to do uniform scaling far before they teach them axis-based because it's better illustrative of the concepts of similarity and congruence

[–] shundi82@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago)

And what about the arrow?

It's pointing down diagonally, which - at least to me (and for pretty much any GUI I can think of) - indicates, that it should be affecting both axes.

Then again, that whole illustration isn't all that great to begin with. So who knows, what that arrow is supposed to signify...

[–] Gobbel2000@programming.dev 5 points 2 years ago (1 children)

No, I wod say scaling is any diagonal matrix and thus even includes mirroring.

[–] Ashelyn@lemmy.blahaj.zone 1 points 2 years ago* (last edited 2 years ago)

Cool, now explain that to a class of 7th graders for me

edit: raised grade, it may been set a low but it varies. I think most kids start to learn this stuff in/around middle school

edit 2: also mirrored objects are generally considered similar so that's fine

[–] chad@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago)

Ackchuawually, this example depicts a squish and a translation. A true scaling would have the scaling being done in place, resulting in an overlayed and smaller rectangle.

[–] germanatlas@lemmy.blahaj.zone 3 points 2 years ago

Damnit, I wanted to say that