WTF is this?

The images you see on this blog are output from various Ulam spiral generators I built in Flash, Python and most recently using Arduino. Generally, each dot in an image represents a number with integer 1 at center. In addition to writing algorithms to test each number for primality within a set I have discovered that an infinite number of calculations can be performed to create new designs and animation algorithms. The simplicity and speed of these algorithms make them an ideal fit for embedded systems graphics, scientific, mathematical and artistic explorations.

Wednesday, July 2, 2008

e - Mathematical Constant Mapped on a Ulam Spiral

Here's what you get when you map the product of the square root of n2 to e along a Ulam spiral:

Algorithm: (Math.round(Math.sqrt(Math.pow(n, 2.71828 ))*2.71828)%2==0)

This unusual creation uses PI and e to display a weird hodge podge of fractal influenced spirals:

Algorithm: (Math.round(Math.sqrt(Math.pow(n, Math.PI ))*2.71828)%2==0)

A simplification of the algorithm leads to this:

Algorithm: (Math.round(n/2.71828)*n%2==0)

No comments: