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.

Friday, June 13, 2008

3.14159265



This is a fairly strange calculation, but here goes:


if( Math.round( n /)*n%2==0 ) {//color the dot}


A lot of fractal-like features with this formula. Here's another using the same calculation but using mod 3.



Using 5 as the modulo divisor delivers strange results. My favorite of the lot:



How about a nice, modern looking rug?



Calculation per dot: Math.round(Math.sqrt(pInt)*Math.PI)%5==0


Calculation per dot: Math.round(pInt*Math.PI)%5==0




Calculation per dot: Math.round(((Math.pow(pInt, 2))*Math.PI) * (Math.sqrt(2)+1))%5==0. Some of the patterns in here look like hiragana. If you look closely you can also find Kilroy. And no, I didn't put him in there.

No comments: