This script creates Scherk's First Minimal Surface.  The surface looks like a saddle, and may even be useful. 
The u and v angle parameters have intervals of (-PI/2, PI/2), inclusive.  
Larger intervals do not work.  This is probably due to division by zero?
 
A small absolute value for cValue makes the "saddle" flatter.  When cValue is .00001, the grid is almost flat. 
A negative cValue faces the horse in the direction of the x axis. 
The maximum absolute value for cValue is coded to 1.0.  cValue of zero is coded to 1.0. 
Network works for cValue = .99. 
A faster .htm version could be done.
 
- Brian
   
 |