Butterflies

p = ecos(θ) – 2 cos(4 θ) + sin5(θ/12)

or in ActionScript:

var r:Number = Math.exp(Math.cos(i)) – 2 * Math.cos(i * 4) + Math.pow(Math.sin(i / 12), 5);

r = radius, θ = angle. Figure out the x and y from there.

Randomly scale, position, rotate. Coat with bevel and dropshadow. Bake at 350˚ for 30 minutes. Serves 5.

Dug up in Computers and the Imagination by Clifford Pickover.

11 thoughts on “Butterflies

  1. Willem Van den Broeck

    just a warning that the suggested temp of 350° is Fahrenheit. Don’t bake them at 350°C cause then you’re in for a treat. Believe me, i know.

    Reply
  2. Pingback: Mariposas generadas a través de las matemáticas « Mare Magnum

  3. Pingback: GEARFUSE » Mathematical Butterflies

  4. Pingback: meneame.net

  5. Pingback: TIPS » Blog Archive » Mathematical Butterflies

  6. Pingback: Mariposas generadas a través de una ecuación | Mare Magnum

  7. Pingback: live from sublurbia » I heart math. I don’t get it much, but I heart it anyway.

  8. Pingback: Mariposas matemáticas… | Salondesol

Leave a Reply to Solusan Cancel reply

Your email address will not be published. Required fields are marked *