Warum eine Multiplikation ein Herz zeichnet
Verbinde auf einem Kreis jeden Punkt n mit dem Punkt n × k. Eine Multiplikation zeichnet eine Kardioide und ihre Verwandten.
Läuft nach einem Klick von YouTube.
Probier es aus: Ändere die Regel
Mal 2: die Kardioide, eine Spitze.
Warum es funktioniert
Setze 200 Punkte auf einen Kreis und verbinde jeden Punkt n mit dem Punkt n × 2. Jede Linie folgt derselben Regel, und zusammen umreißen sie eine herzförmige Kurve, die Kardioide. Ändere den Faktor, und eine neue Form erscheint.
Punkt n → Punkt (k · n) mod Nganzes k → eine Epizykloide mit k − 1 Spitzen
Bau es selbst
Python 3 · numpy · matplotlib200 Punkte, jeder mit seinem Doppelten verbunden: die Kardioide.
"""Times table on a circle: N dots, each dot n joined to dot (k * n) mod N.
Run: python times-table.py (needs: pip install numpy matplotlib)
"""
import numpy as np
import matplotlib.pyplot as plt
plt.style.use("dark_background")
N, k = 200, 2 # the number of dots and the multiplier
start = 2 * np.pi * np.arange(N) / N # dot n at the angle 2*pi*n/N
end = start * k # dot k*n: angles wrap around the circle by themselves (that is the "mod N")
plt.figure(figsize=(6, 6))
for a, b in zip(start, end):
plt.plot([np.cos(a), np.cos(b)], [np.sin(a), np.sin(b)], color="#f5c76b", linewidth=0.6)
plt.axis("equal")
plt.axis("off")
plt.show()
# Try: k = 3 for the nephroid, k = 101 to see it collapse into diameters
Probier: Setze k = 3 für die Nephroide oder k = 101, um das Bild zu Durchmessern zusammenfallen zu sehen.
Lerne dieses Skript Zeile für Zeile, mit Übungen und einem Quiz → · starte es in Google Colab (auf Englisch) →
Für Lehrkräfte: ein Stundenentwurf für 45 Minuten und ein Arbeitsblatt auf drei Niveaus →
Die Mathematik, wie der Film sie erzählt
Die Notizen zum Film lesen (von YouTube, auf Englisch)
200 points sit evenly around a circle, numbered 0 to 199. One rule draws everything: point n is joined by a straight line to point k·n, counting around the circle and wrapping past 200 (that is k·n mod 200). For k = 2 the envelope of the lines — the curve every one of them just touches — is a cardioid; k = 3 gives a nephroid with two cusps, and in general whole-number k gives an epicycloid with k − 1 cusps. k does not have to be a whole number: the end of each line simply slides along the circle, so the shapes morph into one another as k glides.
The richest flowers appear where k is one away from a simple fraction of 200 (51, 67, 99, 101, 133, 151 …): there the lines almost repeat every few points, and the near-misses pile up into petals. Because only the remainder after dividing by 200 matters, k = 201 sends every point to itself — all 200 lines shrink to nothing — and k = 202 is the cardioid again, exactly where the film began.
Aus der Beschreibung von One Multiplication Rule Draws Every Shape (auf Englisch).