An open API service indexing awesome lists of open source software.

https://github.com/null93/ulam-spiral

Ulam Spiral Screen Saver For MacOS
https://github.com/null93/ulam-spiral

macos screensaver ulam-spiral

Last synced: about 1 month ago
JSON representation

Ulam Spiral Screen Saver For MacOS

Awesome Lists containing this project

README

          

# Ulam Spiral
> Ulam Spiral Screen Saver For MacOS

![](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)
![](https://img.shields.io/badge/Version-1.0.0-yellow.svg?style=for-the-badge)
![](https://img.shields.io/badge/Swift-5-yellow.svg?style=for-the-badge)



## About

The Ulam Spiral is a graphical representation of positive prime numbers. It was discovered and named after the mathematician _Stanislaw Ulam_ in 1963. The spiral is constructed by circling counter-clockwise from an origin point on a square grid. Each traversal of a grid cell represents the next number on the positive number line. If said number is prime, it is marked. Otherwise, it is ignored. Once the algorithm is sufficiently played out, what seems like a though provoking pattern begins to appear.

## Installation

Check out the [releases](https://github.com/null93/ulam-spiral/releases) tab and download the latest version. Double click on the `.saver` file to install it. Once **Desktop & Screen Saver** preferences opens automatically, choose the **Ulam Spiral** screen saver from the list of screen savers.

## Development

You can start developing by opening the [UlamSpiral.xcodeproj](UlamSpiral.xcodeproj) file in Xcode and building the project (`⌘ + B`). You can then install the screen saver by right-clicking on the **Products/UlamSpiral.saver** file and choosing **Open With External Editor**.

## Additional Notes

If you would like to learn more about **Ulam Spirals**, check out the wikipedia [page](https://en.wikipedia.org/wiki/Ulam_spiral) on it. Additionally, _Numberphile_ made a great YouTube [video](https://www.youtube.com/watch?v=iFuR97YcSLM) covering Ulam Spirals and it is also a great resource.