Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

English version below 🇺🇸

Deutsch 🇩🇪

Projektbeschreibung

Dieses Python-Skript visualisiert die Spiralen, die entstehen, wenn man Primzahlen in einem Polarkoordinatensystem plottet. Dieses Phänomen wurde in einem Video von 3Blue1Brown erklärt und gezeigt. Das Video kann hier angesehen werden: 3Blue1Brown Video.

Voraussetzungen

Stellen Sie sicher, dass Sie alle erforderlichen Pakete installiert haben sowie einen Python 3.x Interpreter. Diese sind in der Datei requirements.txt aufgeführt.

pip install -r requirements.txt

Installation und Ausführung

  1. Klonen Sie das Repository auf Ihren lokalen Rechner.

    git clone https://github.com/SilasHelgesson/Prime_polar_coordinates
    cd Prime_polar_coordinates
  2. Installieren Sie die Abhängigkeiten.

    pip install -r requirements.txt
  3. Führen Sie das Skript aus.

    python script.py

Demo

Beispiel

English 🇺🇸

Project Description

This Python script visualizes the spirals that form when prime numbers are plotted in a polar coordinate system. This phenomenon was explained and demonstrated in a video by 3Blue1Brown. The video can be viewed here: 3Blue1Brown Video.

Prerequisites

Ensure you have Python 3.x installed as well as the required packages. These are listed in the requirements.txt file.

pip install -r requirements.txt

Installation and Execution

  1. Clone the repository to your local machine.

    git clone https://github.com/SilasHelgesson/Prime_polar_coordinate
    cd Prime_polar_coordinate
  2. Install the dependencies.

    pip install -r requirements.txt
  3. Run the script.

    python script.py

Demo

Example output

License

This project is licensed under the GPL-3.0 License.

About

This Python script visualizes the spirals formed by plotting prime numbers in a polar coordinate system, inspired by a 3Blue1Brown video.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages