Hello All!
I wonder if someone could please help. I wish to map points on a square onto a torus. I wonder if there is a quickish way to do this in Mathematica? To generate a square with points, I use the following code:
squareGridSize = 100;
numberPoints = 50;
positionList = RandomReal[{0, squareGridSize}, {numberPoints, 2}];
ListPlot[positionList, PlotRange -> {{0, squareGridSize}, {0, squareGridSize}}]
This generates a square of dimensions 100x100 units, with 50 random points within. This is also plotted.
I wonder if these points can be mapped on to the surface of a torus? I understand from the following that this cannot be done in a manner which preserves distance:
http://www.gipsa-lab.fr/~francis.lazarus/Hevea/Presse/index-en.html
However for the purpose of a quick illustration, I wonder if the mapping is possible, despite not being isometric in the final visualization?
This link may also be useful, though it does not show how to map points on to a surface, but a contour.
http://mathematica.stackexchange.com/questions/26749/plotting-a-contour-on-a-torus
Cheers!
Priyan.
