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:

Post a Comment