if(Math.round(n/1.6180339887)*n%2==0){//paint the dot a color
Behold:
if(Math.round(n/1.6180339887)*n%2==0){//paint the dot a color}
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.
No comments:
Post a Comment