Mathematical Butterflies

Those of you skilled in ActionScript or Processing might want to give this formula a try. Designed by Clifford Pickover, the mathematical formula will generate butterflies of all shapes and sizes. I bet by using an Arduino to generate objects and using Processing to render the output, you could end up with some beautiful patterns and shapes.

Oh, but the math! Here we are: p = ecos(?) – 2 cos(4 ?) + sin5(?/12)

Link [via]

About Mohit

Leave a Reply

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