Concentric mapping is a commonly used method for mapping points on a unit square to a unit disc. These are some code samples.