OpenGL 3D math function viewer (source code available)

ottobre 20, 2009 at 8:54 pm (3D works, Coding, download) (, , , , )

function1

function2

OpenGL 3D function viewer. Functions are hardcoded:

#define FUNCTION1 (sin(x*x + y*y)/(x*x + y*y))
#define FUNCTION2 sin(x)*sin(x) + cos(y)*cos(y)
#define FUNCTION3 (2*x*y) / ((x*x)+(y*y))
#define FUNCTION4 cos(x)/(cos(y)*cos(y) + sin(x)*sin(x)+1)

See too my  WPF  (Microsoft 3.5 NET framework)  math visualizer with function parsing, 3D visualization and STL format (stereolithography) export.

Download source code

Pubblica un Commento