Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

ulam hexagon spiral variant in python #3646

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion _CodingChallenges/167-prime-spiral.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ contributions:
url: "https://github.com/dipamsen/"
url: "https://editor.p5js.org/funplanet/full/sHq2rfZuv"
source: "https://editor.p5js.org/funplanet/sketches/sHq2rfZuv"
---
- title: "Ulam hexagon spiral variant in python"
author:
name: "Paula Wilson"
url: "https://github.com/PWilson-1978"
url: "https://github.com/PWilson-1978/ulam-hex-spiral"
source: "7thwHM0Yj_U"




Why do prime numbers show up as diagonals in a spiral? In this video, I create a visualization in JavaScript (p5.js) of the Ulam Spiral (aka Prime Spiral) named for Polish Mathematician Stanislav Ulan.