The Limaçon2 Library entry has 6 parameters that influence its design. This app lets us explore the changes as some of those parameters are changed.

r = b + a*cos(θ)
                        

The sliders in the control console allow you to see the effect of variables a and b on the shape of the curve. The 'hue' slider lets you choose the shapes' fill color.

There are a few 'glitches in the Matrix' that may fill in the inner loop or prevent coloring altogether of the larger element. We'll get to the bottom of it at some point. At least for now, we get an idea of the impact of the two variables a and b.

Mobile Users!

If you load an app in portrait mode, the canvas might not be the correct size. If that happens, rotate it to landscape, then back again and that action might take care of it.

Controls:

a:

b:

Fill Hue: