3D Function Grapher
Plot an f(x,y) style function like x^2-y^2
images/grid3d.js
Press "Edit" and try these:
- x^2-y^2
- -5*x*y*e^(-x^2-y^2)
- (sin(4*x)-cos(5*y))/5
- cos(abs(x)+abs(y))
- abs(x)-abs(y)
- (x^2+y^2)^0.5
- cos(x^2+y^2-0.5)-0.5
You can change "xMin", "xMax", "yMin" and "yMax" values, but at this stage the program is always centered on 0.
The "xN" and "yN" control how many squares are plotted, go too low and it gets too chunky, go too high and the program really slows down as it uses up a lot of your device's resources.
Also try changing the "zFact" to make the z-height more or less dramatic.
What's this?
Imagine you are walking on a hilly landscape. Your position on the flat ground can be given by coordinates x (east-west) and y (north-south).
The height of the hill at that point is z, or f(x,y). By plotting these heights, we get a beautiful 3D surface!
All Functions
Operators
+
Addition operator
-
Subtraction operator
*
Multiplication operator
/
Division operator
^
Exponent (Power) operator
()
Parentheses (brackets)
Functions
sqrt
sin
cos
Cosine
tan
Tangent
asin
Inverse sine (arcsine)
acos
Inverse cosine (arccos)
atan
Inverse tangent (arctangent)
sinh
Hyperbolic sine
cosh
Hyperbolic cosine
tanh
Hyperbolic tangent
ln
The natural logarithm
log
The base-10 logarithm
abs
Absolute value (distance from zero)
sign
1 for positive, −1 for negative, and 0 for zero
round
round to nearest integer
largest integer not greater than the input value
smallest integer not less than the input value
fact
factorial function