photo sharing and upload picture albums photo forums search pictures popular photos photography help login
Peter Hollinger | all galleries >> Galleries >> PaD > Prime Spiral
previous | next
07-APR-2013 Peter Hollinger

Prime Spiral

def IsPrime(n):
return not [i for i in range(2, n) if not n%i]

def tdemo_prime_spiral():
for n in range(9999):
if IsPrime(n):
forward(n)
left(90)

hide exif
Full EXIF Info
Date/Time07-Apr-2013 21:31:24
Make
Model
Flash UsedNo
Focal Length
Exposure Time
Aperture
ISO Equivalent
Exposure Bias
White Balance
Metering Mode
JPEG Quality
Exposure Program
Focus Distance

other sizes: small medium large original auto
comment | share
Peter Hollinger09-Apr-2013 00:16
Thanks, godro.
Donna: Something like 'color((0,0,0), (240,10,180))', but I actually colored it in photoshop.
godro08-Apr-2013 20:19
I like it!
Donna Hollinger08-Apr-2013 18:46
What code makes that kind of purple??