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.

Tuesday, October 21, 2008

Visual Python - Ulam Variations




Some mucking about with VPython to create 3D interpretations of the Ulam spiral algorithm. The above images are a variation of the following pagoda like structure:



Detail:


Manhattan Height Limit:

This is the same algorithm as above images, just a different extruded shape with the camera positioned merely above the skyscrapers.


Manhattan primes:



Here are the primes distributed within the pagoda:


This looks a bit like a scud missile to me. Prime numbers positioned throughout the Z axis using (n/2.71828)*cos( distillNumber(n)/2.71828 )
where distillNumber is a function returning the base root of a given number.


Seems to be a theme here...

No comments: