It plots primes in a polar coordinate system. Looks real nice for wallpapers and such.
- Download
plotprimes.pyand run it with Python. This script requiresmatplotlib. - OR: Install from PyPi using whatever people use to install Python packages nowadays.
- OR: Install a wheel from the releases page.
The flake exposes plotprimes as the default package:
nix run 'github:jtompkin/plot-primes' -- -hIf you're feeling spicy, you can download the
nix/plotprimes.py
script and run it directly. This is a reproducible interpreted script: all you
need is Nix; it will run in an environment with all dependencies satisfied
automagically.
-n:intNumber of primes to plot. (default 1000)-c:strMatplotlib colormap name. (default "twilight")
Requires Python and build.
git clone https://github.com/jtompkin/plot-primes
cd plot-primes
python -m build