What's the right way to align some point of a picture with, say, the mean line i...

@ltchen@mathstodon.xyz

What's the right way to align some point of a picture with, say, the mean line in TeX?

The code generated by GPT works but seems hacky: github.com/L-TChen/agda-logo/b