Which function can transform 4 dimensions into 3 dimensions?


My ask is:
is there a function that, like Joukowski transformation, transforms a 3-dimensional cube into a 4-dimensional torus or cube