Tutorial 6: Close-to-conformal parametrizations of Hopf tori

In this tutorial we want to construct Hopf cylinders and Hopf tori. These are flat surfaces in S3 and allow for an easy conformal parametrization when mapped to Euclidean 3-space by stereographic projection. For tori we will encounter a problem similar to the problem we saw for framed curves – there is a certain angle defect. Adjusting the immersion destroys the conformality, but we can ask for a minimal distortion.

The 3-sphere admits a fibration into circles, i.e. there is a map π:S3S2 such that for each point pS2 there is a neighborhood US2 such that its preimage π1(U) looks like the product U×S1:π1(U)U×S1.In particular, for each point p the fiber π1({p}) is just a circle.

Let us consider the 3-sphere S3 to sit in H, i.e. S3={ψH|ψ|=1}. As usual we identify R3 with the purely imaginary quaternions. The 2-sphere is then just intersection of S3 with R3, S2=S3R3, and the Hopf fibration π:S3S2 is given byψψiψ.In other words, it sends a quaternion to the point it rotates the vector i to. In particular it is clear that the image is the whole 2-sphere. Similarly, the preimage of a point p consists of all rotations that rotate i to the point p. Certainly there are many such – e.g. we can precompose any rotation around i. One can check that these are in fact all: For ψoπ1({p}),  π1({p})={ψ0eiααR}=ψ0S1,where S1={x+iyHx2+y2=1}. In particular the fibers are great circles in S3.

Just to note here, S3 forms group (multiplication is inherited from the multiplication in H), which contains S1 as a subgroup. The corresponding group action S3×S1S3,(u,ψ)ψu.maps the fibers of π onto itself.

Further we will need that the differential dπ preserves the product and in particular the length of tangent vectors which are perpendicular to the fibers: Suppose that ψ:(ε,ε)S3 is a curve in the fiber over a point pS2, i.e. π(ψ(t))=p for all t(ε,ε) with ψ(0)=ψ0. Then ψ is of the formψ(t)=ψ0eiα(t), where α is some real-valued function with α(0)=0. Taking the derivative at t=0 yieldsψ(0)=ψ0(eiα)(0)=ψ0iα(0).

horizontalspace_

Since ψ was arbitrary, we see that the vertical space Vψ0 at a point ψo, i.e. the tangent space of the fiber at ψ0 is given as followsVψ0={XHX=ψ0ix,xR}=ψ0iR.The horizontal space Hψ0 is then defined to be the orthogonal complement of Vψ0:Hψ0={XTψ0S3XVψo}={XHXψ0,ψoi}.Note that, since we are speaking about tangent vectors to the 3-sphere at the point ψ0X must be perpendicular to ψ0 as well.

Theorem 1. The restriction of differential dψ0π to Hψ0 preserves the metric (up to a factor of 4): For all X,YHψ0,dψ0π(X),dψ0π(Y)=4X,Y.

Proof. First,  we compute the differential of π: For each tangent vector XTψ0S3 there is a curve γ:(ε,ε)S3 such that γ(0)=ψ0 and γ(0)=X. With the usual product rule we get dψ0π(X)=(πγ)(0)=γ(0)iγ(0)+γ(0)iγ(0)=Xiψ0+ψ0iX.Now we proceed in two steps: First we look at the differential at ψ0=1. Then we have XH1 if and only if Xspan{j,k}. In particular, such X anti-commute with i.  Note also that H1R3. Thus we for XH1 that d1π(X)=Xi+iX=Xi+Xi=2Xi.Now, let ψ0 be an arbitrary point on S3 and XHψ0. Then again there is a curve γ such that γ(0)=ψ0 and γ(0)=X. Now, define γ~:=ψ0γ or, equivalently, γ=ψ0γ~. Then γ~ is a curve on S3 through the point 1. Hence X~:=γ~(0)T1S3. Now,πγ=γiγ=ψ0(πγ~)ψ0.Hence we obtaindψ0π(X)=(πγ)(0)=ψ0(πγ~)(0)ψ0=ψ0d1π(X~)ψ0.Further, we have X~=γ~(0)=ψ0γ(0)=ψ0X. In particular X~H1. Thus we obtaindψ0π(X)=ψ0d1π(X~)ψ0=ψ02X~iψ0=2Xiψ0.But multiplication by quaternions of unit length are isometries of H: If ψS3 and X,YH, then Xψ,Yψ=X,Y=ψX,ψY.The last to statements together prove the claim.◻

Now, if γ:[0,L]S2 with |γ|=1, then the preimage M of γ is a family of great circles in S3, i.e. a cylinder. This cylinder can be parametrized as follows: Given a lift ψ0 of γ, i.e. a curve ψ0:[0,L]S3 such that γ=πψ0, then a parametrization is given byf0:[0,L]×R/2πZS3,(t,α)ψ0(t)eiα.Certainly, there are many possibilities to lift γ: It is not hard to see that any other lift ψ of γ is of the form ψ=ψ0g,where g:[0,L]S1. This ψ then defines another parametrization, say f. Our goal is to end up with an isometric immersion, i.e. we want |ft|=1=|fα|,ftfα.Let us compute the derivative of f with respect to α:fα=ψ0αeiα=ψ0eiαi.Thus by constrution, we always have that |fα|=|ψ0|=1. The derivative with respect to t is basically given by the derivative of the lift ψ:ft(t)=ψ(t)eiα.Hence we see that ftfα if and only if ψt(t)Hψ(t). Such a lift is called a horizontal lift. Now, let ψ be a horizontal lift. Then, with the Theorem 1, we get:|ψ|=12|dψπ(ψ)|=12|(πψ)|=12|γ|.This then can be fixed by changing the parameter t. We collect the facts in the following

Theorem 2. Let γ:[0,L/2]S2 such that |γ|=2 and let ψ be a horizontal lift to the 3-sphere. Then the mapf:[0,L/2]×R/2πS3,(t,α)ψ(t)eiαis an isometric parametrization of the Hopf cylinder defined by γ.

Remark. Suppose that γ:RS2 is periodic. Then the preimage forms a torus instead of a cylinder. Assuming that |γ|=2 the parameterization in Theorem 2 still yields an isometric immersion. But the immerison does not need to be periodic in t: Let us look at the horizontal lift ψ. If  L/2R denotes the period of γ, we find thatπ(ψ(0))=γ(0)=γ(L/2)=π(ψ(L/2)).Thus ψ(0) and ψ(ω) both are points in the fiber over γ(0), thus there is rS1 such thatψ(ω)=ψ(0)r.But there is no reason why r should be equal to 1. If we want to obtain a doubly periodic immersion we must drop that ψ is horizontal. In fact one can do this similarly as for the framed curves: Let ω(π,π]  such that r=eiω and let ψ be a horizontal lift of γ. Then we defineψ~(t)=ψ(t)eiωt.Then ψ~ is a closed lift of γ to S3 that will produce an immersion which not isometric but has a constant shear. Since we piked ω between π and π it  is least shear we can choose – unless we allow for covering γ several times.

Now let us switch to the discrete setup. Here we start with a discrete curve γ on the 2-sphere and want to come up with a parametrization of the corresponding Hopf cylinder.

shericalcurve

A discrete curve on the 2-sphere is just a finite sequence of points on S2. In R3 one imagines that these points are connected by straight lines. Though Houdini will visualize these curves also using straight edge segments in R3 it seems natural to imagine that the points of a spherical curve are actually connected by great circles arcs – the shortest paths on the sphere. Unless the edge doesn’t connect antipodal points this will cause no trouble.

The horizontal lift played an important role in the smooth theory. So we should come up with a discrete analogue. One should notice that the horizontal lift along a curve can actually be regarded as a transport from fiber over the start point to the fiber over the end point of the curve: Given a curve γ:[0,1]S2 and a point ψ0 in the fiber over γ(0), then there is a unique horizontal lift ψ of γ such that ψ(0)=ψ0. Then we can define a map Pγ:π1({γ(0)})π1({γ(1)}) as followsPγ(ψ0)=ψ(1),where ψ is the unique horizontal lift such that ψ(0)=ψ0. This map Pγ is called the parallel transport along γ and has the following nice property.

Theorem 3. If π(ψ0)=γ(0) and αR, then  Pγ(ψ0eiα)=Pγ(ψ0)eiα.

Proof. Let ψ be a horizontal lift of γ such that ψ(0)=ψ0. Define ψ~:=ψeiα. Then certainly ψ~(0)=ψ0eiα. Further,ψ~,ψ~i=ψeiα,ψeiαi=ψ,ψi=0,which shows that ψ~ is a horizontal lift (ψ~,ψ~=0 follows because ψ~ is a curve in S3). Hence we get Pγ(ψ0eiα)=ψ~(1)=ψ(1)eiα=Pγ(ψ0)eiα.This proves the claim. ◻

Now in the discrete case we are dealing with curves patched together by great circle arcs. We want to compute the corresponding parallel transport.

Theorem 4. Let p,qS2 such that pq and γ(t)=cos(t)p+sin(t)q be the corresponding great circle arc. Let γ0π1({p}). Then the unique horizontal lift of γ such that ψ(0)=ψ0 is given byψ(t)=(cos(t2)+sin(t2)ν)ψ0=eνt2ψ0,where ν=p×q.

Proof. First we have to check that ψ defines a lift: We have π(ψ(t))=eνt2ψ0iψ0eνt2=eνt2peνt2, which is p rotated around the axis ν by the angle t. Hence π(ψ(t))=γ(t). That ψψ is clear. We only have to show that ψ is also perpendicular to ψi: Again we can use that the product is invariant under left- and right multiplication with quaternions of unit length. We have ψ(t),ψ(t)i=eνt2ν2ψ0,eνt2ψ0i=ν2ψ0,ψ0i=ν2,ψ0iψ0=ν2,p=0.Thus ψ is a horizontal lift and clearly ψ(0)=ψ0.◻

Corollary 1. Let p,qS2, pq and let α(π,π) such that cosα=p,q.  Then the parallel transport along a the short great circle arc is given by left-multiplication with the quaternion rpq=cos(α2)+sin(α2)p×q|p×q|.

So everything is easy at the end. Actually there is even a vex-method which, given two vectors p and q in R3, returns exactly this number:

rpq= dihedral(p,q).

Thus we a discrete horizontal lift is easy to obtain: Let γ=(γ0,,γn) be a discrete curve in S2.

  1. Choose a vector in the fiber over γ0, i.e. a quaternion ψ0 of unit length such that γ0=ψ0iψ0. E.g. ψ0= dihedral(i,γ0),
  2. Then lift the curve successively: ψk+1=rγiγk+1ψk= dihedral(γk,γk+1)ψk.

From the horizontal lift we then obtain a cylinder as in the smooth case: Just take the discrete lift ψ and define f:{0,,n}×Z/mZS3 byfk,l=ψke2πiml.

To visualize the surface we then use again a suitable stereographic projection.

hopfcylinder_

For tori, as already mentioned, the lift ends up with a certain angle defect which then has to be taken care of: Let γ=(γ0,,γn1) be a closed discrete curve. Then we can unroll this curve to a non-closed curve γ~=(γ0,..,γn) withγ0=γn and compute a horizontal lift ψ~=(ψ~0,,ψ~n) –  just use the algorithm above. Then there will be some ω(π,π) such that ψ~n=ψ~0eiω.Then we obtain a closed discrete lift ψ as follows:ψk:=ψ~keiωLsk.Here sk denotes the discrete arclength and L denotes the length of the curve (compare with the post on frames of constant torsion).

Here a generic spherical curve – just generated by a curve node.

hopfcurve_

Here the corresponding parametrization using a horizontal lift

hopftorusconformal

and the corresponding close-to-conformal parametrization

hopftorusclosetoconformal

Just as a remark: If  ω1mZ then the grid looks already closed glueing this leads also to tori with certainly lower distortion of conformality though the underlying combinatorial torus – the mesh – is different from the standard one. Though Houdini’s fuse node can glue this. With this one gets in the end a – in a mathematical sense – very natural looking network (‘unroll’ is an ends node, ‘glue’ is a fuse node).

cutgluenet

Once we have this we can ask for special curves. In “Hopf tori in S3 there is particular example which we can rebuild easily using a numerical trick. The curve it uses is the intersection of a cubical cone with the 2-sphere in R3: One such cone is given by the equationc~(x,y,z)=x3+y3+z3=0, i.e. it is an implicit surface and we know how we can get these in Houdini. Though in this form its symmetry axis is given by the vector (1,1,1). We want the symmetry axis instead to be aligned with the z-axis. In this way we can easily stretch along the z-axis. This yields a whole 1-parameter family of curves all which enclose always an area of 2π but have different lengths.

cone_

To change the rotation axis to e3=(0,0,1), we can just precompose a rotation R that takes the vector e3 to the axis (1,1,1). The cone is then given as the zero set of the function c=c~R.

To get the intersection with the round sphere we can use the cookie node. It provides the possibility to intersect two meshes (crease). If necessary one can use the join and fuse node to improve the result.

conesphereintersection

Though it may need sometimes a bit fine tuning the cookie node works quite well – as lone as the meshes are not to fine.

intersection_

Note: The resample node will move the point of the sphere. If one wants a spherical curve with constant edge length one has to project the result back to S2.  One trick would be to iterate this. This can be done e.g. by a for-loop node.

Bildschirmfoto 2016-06-01 um 22.59.07

With this we can produce nice conformal parametrizations. Below a rednering of one of the tori that arise from the intersection of a cubical cone and the 2-sphere.

hopf_

Homework (due 14/16 June): Write a network that creates a closed curve on S2 and computes a parametrization of the corresponding Hopf torus. It shall be possible to switch between a horizontal and a closed lifts. Further, apply this to the intersection of the cubical cones and the 2-sphere as described above. Insert a parameter that allows to stretch along the symmetry axis.

This entry was posted in Tutorial. Bookmark the permalink.