I guess I'm giving a short presentation about contorting a rectangle into a torus and although the main emphasis will be on the programming code to do this, I would like to better understand if possible, the topological description of the process and was wondering if some here could help me. For example, I assume the process can be made continuous up to the point where we stitch the ends together so it's not a homomophism. Is this correct?