Lituus

From JSXGraph Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

A lituus is a spiral in which the angle is inversely proportional to the square of the radius (as expressed in polar coordinates).

[math]\displaystyle{ r^2\theta = k \, }[/math]

The JavaScript code to produce this picture

var b1 = JXG.JSXGraph.initBoard('box1', {axis:true,boundingbox: [-10, 10, 10, -10]});
var k = b1.create('slider', [[1,8],[5,8],[0,1,4]]);
var c = b1.create('curve', [function(phi){return Math.sqrt(k.Value()/phi); }, [0, 0],0, 8*Math.PI],
             {curveType:'polar', strokewidth:1});

External links