Skip to main content
100%

Plotting primes in polar coordinates

✓ Published0🌍 Public
WWikunia
Last edited Oct 8, 2019
Created on Oct 8, 2019

This visualization displays all prime numbers up to a given value as points in a polar coordinate system, where each prime’s radial distance corresponds to its numerical value and its angular position is determined by the same value. The points are colored along the summer color scheme, progressing from dark blue for small primes to yellow for larger ones, creating a striking spiral pattern. The code uses Julia’s Plots.jl with the `scatter` function, setting `proj=:polar` for the projection, and leverages the Primes.jl package to generate the prime list. A black background and a subtle marker size of 1 emphasize the dense distribution.

AI-generated description

Similar vizzes