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.

Saturday, June 14, 2008

Silver Ratio



Here we go round and round Ulam's spiral, testing each number not for primality, but if(Math.round(n/1+1.41421)*n%5==0), paint circle. Basically another twisted formatter using 1+√2 modulo 5. Why 5? Why not?


Strange things happen around this number: Square root of 2



Same calc, swapping in modulo 7. Looks a bit like a cousin to the n mod 7 image.




Go modulo 8:




Calculation per dot: (Math.round(pInt/(Math.sqrt(2)+1))%5==0)

No comments: