The so called geodesic algorithm, which is one of the zipper algorithms for conformal mappings, is combined with a Schwarz–Christoffel mapping, in its original or in a modified form, to produce a conformal mapping function between the upper half-plane and an arbitrary channel with smooth boundary and parallel walls at the end.