ChristopherChudzicki / math3d-react

A user-friendly 3d graphing calculator for the web. Create, share, and animate 3d mathematical scenes.
https://www.math3d.org
Mozilla Public License 2.0
249 stars 34 forks source link

Potential ability to change the designated variables for each object type #298

Open Zaq-Xander opened 3 years ago

Zaq-Xander commented 3 years ago

Hey, I have another suggestion.

I think it'd be good if we could change the 'designated variables' (not sure that I should call them, so that's the terminology I'll use) for each object type. For instance, the designated variable for the Parametric Curve object is t, the designated variables for the Parametric Surface object are u and v and the designated variables for the Explicit Surface object are x, y and z.

If we were able to change these, it'd mean that users would have a bit more freedom in how they choose their variable names. It'd also allow for easier communication in some instances (e.g. graphing a Parametric Surface [sin(u) cos(v) , sin(u) sin(v) , cos(v)] is somewhat better communicated as [sin(φ) cos(θ) , sin(φ) sin(θ) , cos(φ)] because θ and φ are often used to denote angles).

Thanks for the great tool as always!