Johny is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

snabeltann.no/media/iSgIvRd00V

Help! I need some sort of mathematical equation that can bend this warped grid into a straight one.

A plain affine transform didn't work, because even when I corrected the shearing, the grid still got wider (in a linear fashion) near the bottom.

I basically need to map one coordinate system onto another, but I don't know the mathematical words for it.

Johny @johny

@thor xb= x coordinate of blue dot, analogly for yb, xo= x coordinate of orange (transformed) dot, same fo yb.
xo=sqrt((xb)^2+(yb)^2)*cosa
yo=sqrt((xb)^2+(yb)^2*sina
a=atg(yb/xb). If you want orange dots to be equidistant add some constant to the upper equations. Hope this gives you some idea.

· Web · 0 · 0

@thor What you want is transformation from polar to Descartes coordinate system, if you know coordinates of some point you want to transform you can express it in polar coordinate system, then using transformation equations you can project them on other coordinate system. Google "polar to rectangle coordinate system". I hope I was helpful somehow, if I understood your problem correctly.