If we have a polygon in the plane, the Riemann mapping theorem tells us that a conformal map from the unit disk to that polygon exists, but it doesn't say how to find it. It turns out that we can actually construct one, in the following way:
This is called the Schwarz-Christoffel mapping.
Without loss of generality, let us assume that the polygon is given in terms of its vertices,
The values
In order to find a conformal mapping of the unit disk to this polygon, we need to find values of the parameters
The parameters
Although this can be done numerically, click the image below to try specifying a polygon and seeing if you determine values for