把正方形映射为圆
翻译自:Mapping a Square to a Circle
- 全部机器翻译, 看看能不能读
I wanted to come up with a nice way to map all the points in the square
我想以一种精密的方式来映射一个正方形中的所有点.
截图1:
to the points in the unit circle, such that the points along the axes are unchanged, and the corners get normalized. The way I went about this was to think of a line of constant x (as well as a line of constant y) getting mapped to an ellipse