Plase see my library for math equations visualizing. See example.
6 Likes
I have tested a more complicated function from
http://www.mi.sanu.ac.rs/vismath/taylorapril2011/Taylor.pdf
Math.cos( 4*t *2*Math.PI ) * ( 1 + 0.5 * ( Math.cos( 5*t *2*Math.PI ) + 0.4 * Math.cos( 20*t *2*Math.PI )))
Math.sin( 4*t *2*Math.PI ) * ( 1 + 0.5 * ( Math.cos( 5*t *2*Math.PI ) + 0.4 * Math.cos( 20*t *2*Math.PI )))
0.35 * Math.sin( 15*t *2*Math.PI )
Works perfectly.
The comparison with the result of my Addon. Produces almost infinite many time-varying geometries with functions shows it.
In difference to my addon the variable t is to be used instead of v.
With the variable t the whole function can be changed time-dependently in my addon.
Try THREEf geometries
use radius 1, height 50, radius segments 10, height segments 400
function center X : as above, but with variable v
function center Y : as above, but with variable v
function center Z : 0.35 * Math.sin( 15*v* Math.sin( 0.1*t) *2*Math.PI )
3 Likes