Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How to map a convex quadrilateral onto a square so that lines would transform into lines?
An illustration for this
The answer is Patapom's $(u, v) \rightarrow (x, y)$ transform here:
Mapping Irregular Quadrilateral to a Rectangle