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.
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.
So where’s the Flash? You offer Actionscript, but no Flash file demonstrating it?
duffy, see https://www.artfromcode.com/?p=319
Great!!
^_^
Pingback: Mariposas generadas a través de las matemáticas « Mare Magnum
Pingback: GEARFUSE » Mathematical Butterflies
Pingback: meneame.net
Pingback: TIPS » Blog Archive » Mathematical Butterflies
Pingback: Mariposas generadas a través de una ecuación | Mare Magnum
Pingback: live from sublurbia » I heart math. I don’t get it much, but I heart it anyway.
Pingback: Mariposas matemáticas… | Salondesol