Fermat’s Nightmare
Revisiting a specific mathematical phenomenon that I previously explored twice, here (in 2017) and here (in 2011), from a different angle in 2026 now. This was the final video (from 2023) that I found in my junk folder during the blog’s resurrection.
Today, designers mostly know Fermat through the famous 137.5-degree angle of rotation, which is the mathematical formula used to describe the arrangement of sunflower seeds. However, today I will speculate on a nightmare of Fermat’s. Because Fermat, in truth, never cared about sunflowers at all.
The Prince of Amateur Mathematicians
Pierre de Fermat was a French amateur mathematician who studied number theory. While geometry deals with shapes and algebra with unknowns, number theory deals directly with “numbers themselves” (notably prime numbers, divisibility, squares, and the like). Though it often seems to have no practical purpose, its traces can be found in many of today’s technologies. Aside from number theory, Fermat was also deeply interested in analytic geometry. Around the same time as Descartes (actually even slightly before him), he independently realized that equations could be expressed visually by applying a coordinate system to geometry.
In 1636, during his studies of analytic geometry, Fermat examined a special curve defined by an equation he had developed. Although this curve resembles an Archimedean spiral, it grows at a parabolic rate outward from the center. For this reason, mathematicians named this class of curves the “Fermat Spiral” in his honor. Back then, just like Descartes, he was busy translating geometric shapes into algebraic equations and studying their tangents, areas, and properties. The algebraic curve that Fermat examined on paper was found to coincide with phyllotaxis (leaf arrangement) systems in nature, much later. Particularly in the 1970s, mathematician Helmut Vogel studied plant growth models.
In summary, Fermat’s work had nothing to do with sunflowers or any other natural phenomena. After all his deep dedication to the world of numbers, what do you think he would have thought if he had seen someone stamping his name onto a sunflower centuries later?
The Speculation
If we were to tell Fermat today that flowers, organic forms, or digital design codes have his name and are shaped by his equation, he likely would have been surprised a lot. Fermat’s approach to mathematics was theoretical and abstract. He was concerned with the structures of numbers and abstract geometric spaces. To him, mathematics did not have to be a copy of the physical world or a botanical catalog; it was the pure product of the mind. In the field of physics, Fermat is best known for the “Principle of Least Time” (Fermat’s Principle). He argued that nature does not possess a teleological (goal-oriented) and esoteric consciousness or knowledge, and that everything operates according to a mechanical order. Therefore, he would have kept his distance from approaches that treat plant growth or natural patterns with a mystical “golden ratio / secret of life” esotericism; instead, he would have looked at the phenomenon through rational determinism.
All of this is speculation. The only thing we know for certain, historically, is this: The man had zero interest in sunflowers and wrote the equation in question entirely for abstract geometry. So, how could this be a coincidence?

ghenv.Component.Params.Input[0].Description = "Center point"
ghenv.Component.Params.Input[1].Description = "Generation parameter"
ghenv.Component.Params.Input[2].Description = "Number of points"
ghenv.Component.Params.Output[0].Description = "Calculated points"
import rhinoscriptsyntax as rs
import math
Pt = []
for n in range(0,N):
t = math.sqrt(n)
g = n * s**0.8
z = rs.Polar(P,g/1.2,t)
Pt.append(z)
Pt






