Article 5930X Quatrefoils

Quatrefoils

by
John
from John D. Cook on (#5930X)

I was reading The 99% Invisible City this evening, and there was a section on quatrefoils. Here's an example of a quatrefoil from Wikipedia.

wiki_quatrefoil.png

There's no single shape known as a quatrefoil. It's a family of shapes that look something like the figure above.

I wondered how you might write a fairly simple mathematical equation to draw a quatrefoil. Some quatrefoils are just squares with semicircles glued on their edges. That's no fun.

Here's a polar equation I came up with that looks like a quatrefoil, if you ignore the interior lines.

This is the plot of r = cos(2/3).

rose23.png

Update: Based on a suggestion in the comments, I've written another post on quatrefoils using an equation that has a parameter to control the shape.

quatres.png

q?_encoding=UTF8&ASIN=0358126606&Format=ir?t=theende-20&language=en_US&l=li3&o=1

The post Quatrefoils first appeared on John D. Cook.

Lw168v_n9DE
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments