We present two versions of a 3D function grapher. The user enters a formula for f(x,y) in terms of x and y and the applet draws its graph in 3D. The graph can be rotated in real time by the user. The ranges for x and y can be entered by the user as well. The z range adjusts automatically or is entered by the user.
Click the screen shot below to open the first version of the grapher in a new window:
Click the screen shot below to open the second version of the grapher in a new window:
The graphers use many custom AS3 classes, including our custom mathematical expressions parser.
Note: The complete source code for the graphers is available in the article "Flash Tools for Developers: 3D Graphers in ActionScript 3" that you can find at Custom Classes for Mathematics section of Flash and Math.