Instructions: Type in a formula and hit enter.
It is probably easiest to start with some examples.
Also, I wrote a short blog post giving some context here.
FormulaToy.net allows you to graph 3 dimensional formulas using any of the following coordinate systems:
 Cartesian

 X,Y, and Z go from 1 to 1
 Spherical

 Radius goes from 0 to 1
 Phi goes from 0 to 2*PI
 Theta goes from 0 to PI. Theta is measured down from the zenith.
 Toroidal

 Radius goes from 0 to 1
 Phi goes from 0 to 2*PI
 Theta goes from 0 to 2*PI.
 R0 is hardcoded to 1.
.
 Cylindrical

 Radius goes from 0 to 1
 Phi goes from 0 to 2*PI
 Z goes from 1 to 1
 Parametric Surface
 The parametric surface takes 2 variables (u and v) and expects you to define x, y, and z.
The surface is plotted in cartesian coordinates. You can see examples here.
It is hard to edit large multiline formulas in the tiny input box provided, so you would probably want to edit them
separately and paste them into the input box. There are several convenience variables declared as well that may make
your code clearer. They are: rr, xx, yy, zz, phi.
 Both u and v go from 0 to 1
Available functions:
 abs(a)
 the absolute value of a
 acos(a)
 arc cosine of a
 asin(a)
 arc sine of a
 atan(a)
 arc tangent of a
 atan2(a,b)
 arc tangent of a/b
 ceil(a)
 integer closest to a and not less than a
 cos(a)
 cosine of a
 exp(a)
 exponent of a (E to the power a)
 floor(a)
 integer closest to a, not greater than a
 log(a)
 log of a base e
 max(a,b)
 the maximum of a and b
 min(a,b)
 the minimum of a and b
 pow(a,b)
 a to the power b
 random()
 pseudorandom number 0 to 1
 round(a)
 integer closest to a
 sin(a)
 sine of a
 sqrt(a)
 square root of a
 tan(a)
 tangent of a
As well as these constants
 PI
 E
What is 'p'?
p is a variable you can insert in your function that you can control with the slider.
For instance your formula might be something like z=pow(x*y,p) and then you can view the surface with different values of p just by using the slider.
Here is an example of a formula that uses p. Just slide it right or left to see the effect.
Questions, Comments, drop me a line here.
Built using the fabulous three.js library.
Copyright Robert Woodley, 2014  2016.