Visualization of Lemniscate of Bernoulli
Lemniscate of Bernoulli

A lemniscate of Bernoulli.

0 = -2x2 + x4 + 2y2 + 2x2y2 + y4

-2α2 + α4 + 2β2 + 2α2β2 + β4

JSON: { "2,0": "-2", "4,0": "1", "0,2": "2", "2,2": "2", "0,4": "1" }

calc: -2*x^2 + x^4 + 2*y^2 + 2*x^2*y^2 + y^4

GLSL: -2.0*x*x+x*x*x*x+2.0*y*y+2.0*x*x*y*y+y*y*y*y

Shaders