Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 562 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 562 Bytes

Ulam Sprial

A quick implementation of an Ulam Spiral in Java. The design is based off of Stanislaw Ulam's design - a rectangular grid of numbers, starting with 1 at the center, and spiraling out:

Ulam Sprial

It outputs an image where each number is represented as a pixel. Black if prime and white if composite.

Ulam Spiral