TorusTorus is an elementary mathematical object. Unlike a ball. it has one parameter more - radius of circular tube. It's called poloidal radius in the project, to follow common style of naming. So called toroidal radius of the torus describes a 2-D circle drawn by the line following through the tube center. Here is formula that describes torus depicted on the right. It uses polar coordinate system (,,). Unlike Cartesian coordinates, these equations are simple and convenient for manipulation. Only angles serve as unrestricted parameters for modelling and animation. Both radiuses are defined as preset parameters, or constants, at the time of animation. It makes sense to scale angles to normalized coordinates, to match value of to plane . As a result, the value of coordinate at start point of the circle will always become an integer value. Below is equivalent description of a torus in Cartesian coordinates being used for parameters. Equation can be hardly manipulated in the process of modelling because it requires conformance to valid intervals of values strictly. Otherwise, the equation won’t be solved. For these reasons, this equation is presented for reference only. It was used early in the project.
| Разделы
Инструменты | ||||||