Quad mesh is a neat graphic presentation. However, none of the samples show how to do this in Fortran.
I took the javascript example of QuadMesh2 which is a torus and generated the same shape in Fortran.
The fortran source code is attached. Comments in the code are crucial to understanding how this works.
Possible applications are mapping finite elements or other large-scale data arrays generated in fortran code.
I copied the ThreeSin project folder and plopped this fortran source code into it, removed the ThreeSin.f90 source and renamed all the project and solution folders and files from within Visual Studio. The only other rename was in the executable under project properties (Link).
Have fun and let me know what you'd like to see with this
Rich

