Share JSXGraph: example "Lemniscate of Bernoulli"

JSXGraph
Share JSXGraph: example "Lemniscate of Bernoulli"
This website is a beta version. The official release will be in **2023**.

Lemniscate of Bernoulli

Have also a look at "Hippopede".
Web references:
// Define the id of your board in BOARDID

const board = JXG.JSXGraph.initBoard(BOARDID, {
    boundingbox: [-5, 5, 7, -5],
    axis: true
});
 
var a = board.create('slider', [[1,4], [4,4], [0, 1, 8]], {name: 'a'});

var c = board.create('curve', [
    (t) => a.Value() * Math.cos(t) / (1 + Math.sin(t)**2),
    (t) => a.Value() * Math.sin(t) * Math.cos(t) / (1 + Math.sin(t)**2)
], {strokeWidth: 3});