Credit to Stephane Laurent, for more or less comprehensible Hopf Torus explanations and actual code.
Of his 5 blog examples, the first 3 are "fair", and the 4th is spot-on. The 5th is for the tennis ball curve, is without code, and the
formula as I coded it is off, probably due to the association of the number of lobes with t (?). (Another forum with "Silver" had partial similar data.
Link to #4 is:
https://laustep.github.io/stlahblog/posts/HopfTorusParametric.html
So I coded the trigonometry curve around a circle, and also the sinusoidal curve. They are very similar.
The tennis ball curve (only) was previously posted.
To coding in nodeeditor, so far I used only 3 points, for each lifted curve point, and so created MoI4beta 3 point circles, rather than plot many circle points.
The 3 points for each circle are at phi = 0, 2PI/3, and 4PI/3. Also 3 curves were created for these 3 angles, for network.
After running the .nod assembly, MoI was used manually.
Unfortunately network did not work for the 3 curves plus the many circles. I may try coding for one lobe, with more network curves...
Loft only worked for 1/3 + of the circles, which were for only one lobe, +a couple of circles. Then circular array (3) was used with some trimming and join, or boolean union. A solid resulted.
So conformal mapping, (more or less?), of say hexagons, is supposed to be possible, somehow. Provided half of the length of the sphere curve, and half of the sphere area (somehow related to the sphere curve) (= 1/4 the sphere area), match up with the hexagon parallelogram grid. The sphere curves examples are symmetric about the equator, so split the area into 1/2 of 4*PI*r*r. So probably the length of the sphere curve would need to be adjusted by the shape parameter. There is said to be a sphere curve for any parallelogram...
- Brian
(See post 41 for updated Hopf torus generator.)
Please consider the attached hopf .nod to be alpha.
There are 3 different sphere closed curve macros in the .nod, one of which is to be wired in at a time.
The tennis ball code is defective.
Other closed sphere curves could be coded, and inserted.
Sullivan, Pinkall, and Banchoff all have papers, but the math is very difficult to understand.
They say that geometry can be done, but do not say how...