Skip to content

mpiffault/ulam-spiral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ulam-spiral

Ulam spiral generator (see http://en.wikipedia.org/wiki/Ulam_spiral) made with python, using PIL.

Ulam spiral is a representation of prime numbers in a spiral shape. This brings diagonals shapes out from a sequence which seems to be random.

TODO:

  • See code comments
  • Test an odd-black spiral, removing 5 and 3 multiples, and randomize apparition for remaining numbers. Just to test something about comments on this video : http://www.youtube.com/watch?v=iFuR97YcSLM

Releases

No releases published

Packages

No packages published