All These Squares Make A Circle

8 min read

The phrase "all these squares make a circle" sounds like a paradox. Practically speaking, by definition, a square is rigid, angular, and defined by straight lines and right angles. A circle is the epitome of curvature, defined by a single continuous line equidistant from a center point. Now, they are geometric opposites. Yet, in the worlds of mathematics, computer science, digital art, and even philosophy, this statement is not only true—it is a fundamental principle of how we understand shape, resolution, and approximation Simple as that..

This concept bridges the gap between the discrete and the continuous. Worth adding: it explains how your smartphone screen renders a perfect wheel, how ancient mathematicians calculated pi, and how modern data compression works. To understand how squares make a circle is to understand the architecture of the digital world.

The Mathematical Foundation: Limits and Exhaustion

The journey begins over two thousand years ago with the Method of Exhaustion, developed by Eudoxus and perfected by Archimedes. Long before calculus was formalized, Greek mathematicians needed a way to calculate the area of a circle—a shape with no straight edges to measure easily Took long enough..

Their solution was brilliant in its simplicity: fill the circle with squares (and rectangles).

Imagine a circle inscribed inside a square. The square is too big; its corners stick out. Now, divide the remaining gaps into smaller rectangles. Then divide those gaps into even smaller squares. As the squares get smaller and more numerous, the "stair-step" jagged edge of the collective squares begins to hug the curve of the circle tighter and tighter.

Not the most exciting part, but easily the most useful The details matter here..

Archimedes realized that if you continue this process ad infinitum—making the squares infinitely small—the difference between the sum of the squares' areas and the area of the circle becomes zero. This is the birth of the Limit.

In modern calculus notation, this is the Riemann Sum. The "squares" (infinitesimal rectangles) become the circle. We approximate the area under a curve (the top half of a circle, $y = \sqrt{r^2 - x^2}$) by stacking vertical rectangles (essentially tall, thin squares) side-by-side. On top of that, $ \text{Area} \approx \sum_{i=1}^{n} f(x_i) \Delta x $ As $n \to \infty$ and $\Delta x \to 0$, the approximation becomes equality. This is the rigorous mathematical proof that a collection of discrete, angular units can perfectly define a continuous, curved reality And that's really what it comes down to..

The Digital Reality: Pixels and Rasterization

Fast forward to the 20th century. The method of exhaustion moved from parchment to silicon. Every circle you have ever seen on a screen—every button, every loading spinner, every letter 'O' in this article—is a lie. Here's the thing — it is not a circle. It is a mosaic of squares: pixels.

This process is called Rasterization. Since a monitor is a fixed grid of tiny square lights (pixels), the computer must decide which squares to turn on to simulate a curve Practical, not theoretical..

The Midpoint Circle Algorithm (Bresenham’s Algorithm)

In the 1960s, Jack Bresenham developed an algorithm to draw lines and circles on raster displays using only integer addition, subtraction, and bit shifting—no floating-point math required. It is a masterclass in efficiency Not complicated — just consistent..

The algorithm exploits symmetry. So a circle has 8-way symmetry (octants). Think about it: if you calculate the pixels for one 45-degree slice, you can mirror them to draw the whole shape. It starts at the top $(0, r)$ and moves pixel by pixel, deciding at each step: *Do I step right (East) or down-right (South-East)?

It makes this decision by checking a "decision parameter" (essentially the error distance from the true mathematical circle). Think about it: * If the midpoint between the two candidate pixels is inside the true circle, choose East. * If it is outside, choose South-East The details matter here. Practical, not theoretical..

The result is a jagged, stair-stepped ring of squares. Our brains integrate the discrete squares into a continuous curve. From a distance—zoomed out—the human visual system performs the "Method of Exhaustion" automatically. Because of that, up close, it looks like a staircase. All these squares make a circle because our perception completes the limit process for us.

Not obvious, but once you see it — you'll see it everywhere.

Anti-Aliasing: The Gray Squares

Early computer graphics were jagged ("jaggies"). Modern screens use Anti-Aliasing. Instead of a square being simply "On" (black) or "Off" (white), the algorithm calculates what percentage of that square pixel is covered by the ideal mathematical circle Easy to understand, harder to ignore..

If the circle cuts through the top-left corner of a pixel, covering 25% of it, that pixel lights up at 25% intensity (dark gray). That said, the squares are no longer binary; they carry weight. This is the discrete world mimicking the continuous world with even higher fidelity. They become samples of the continuous signal. The squares don't just make the circle; they encode its gradient.

People argue about this. Here's where I land on it.

Vector vs. Raster: The Recipe vs. The Mosaic

This distinction defines modern design. If you zoom in, you see the squares. Consider this: pixel 1,2 is Blue. Practically speaking, * Raster Graphics (JPG, PNG, BMP): Store the result: "Pixel 1,1 is Red. " The squares are the file. " It is the Platonic Ideal. It is resolution independent. The squares only appear at the moment of rendering (rasterization) for your specific screen resolution. Worth adding: zoom in infinitely, and it remains a perfect circle. So * Vector Graphics (SVG, Fonts, CAD): Store the mathematical definition: "Circle at $(x,y)$ with radius $r$. The circle is baked in Still holds up..

When a designer sends a logo to a printer, they send vectors (the math). This leads to when you view a meme on your phone, you see rasters (the squares). The transition from Vector to Raster is the moment "all these squares make a circle" happens in real-time, 60 to 120 times per second, on your GPU Simple as that..

Beyond the Screen: Physics, Optics, and Nature

The principle that discrete units build continuous structures is not limited to human technology. It is a fundamental pattern of the universe Small thing, real impact..

Quantum Mechanics: The Ultimate Pixels

At the Planck scale ($1.6 \times 10^{-35}$ meters), physicists theorize that spacetime itself may be discrete—quantized into "pixels" of reality. If true, every circle in nature, from the orbit of an electron to the event horizon of a black hole, is ultimately constructed from fundamental discrete units. The smooth geometry of General Relativity emerges from the "squares" of Quantum Gravity, just as a smooth circle emerges from pixels on a screen And that's really what it comes down to..

Optics and the Airy Disk

Point a perfect lens at a distant star. You don't see a point; you see an Airy Pattern—a central bright circle surrounded by concentric rings. This is the diffraction limit. The lens aperture (a circle) acts as a low-pass filter. The "squares" here are the wavefronts of light interfering. The resulting circle is a statistical probability distribution of photons—discrete particles (photons) building a continuous wave pattern (the circle).

Biological Mosaics

Look at a compound eye of a fly (ommatidia) or the retina in your own eye (rods

…or the retina in your own eye (rods and cones), each photoreceptor acts as a tiny detector that registers the arrival of individual photons—a discrete event. The visual system does not perceive each isolated hit; instead, neural circuits pool the signals from thousands of these detectors across space and time, smoothing the grainy input into a coherent, continuous image of the world. In a fly’s compound eye, the ommatidia are arranged in a hexagonal lattice, each sampling a narrow angular slice of the scene. The insect’s brain interpolates between the outputs of neighboring ommatidia, producing a percept that, while limited by the inter‑ommatidial angle, behaves much like a low‑resolution raster image where the “pixels” are biological light‑guides rather than manufactured silicon The details matter here..

The same principle echoes in other sensory modalities. In the cochlea, hair cells are spaced along the basilar membrane like a one‑dimensional array of frequency‑selective pixels; their discrete mechanical responses combine to yield the continuous perception of pitch and timbre. Even the skin’s mechanoreceptors—Merkel discs, Meissner’s corpuscles, Pacinian bodies—form a spaced grid that transduces pressure and vibration, allowing the brain to reconstruct a smooth tactile landscape from a sparse set of points.

These biological examples reinforce the insight that continuity is often an emergent property: a useful illusion crafted by the brain (or any signal‑processing system) from an underlying lattice of discrete samplers. Whether the lattice is fabricated in a GPU, etched in a photolithographic mask, or evolved as a row of ommatidia, the pattern holds—reality is rendered, not inherently smooth.

Conclusion

From the mathematical exactness of vector graphics to the photon‑counting granularity of a retina, the universe repeatedly demonstrates that continuous forms can be built, perceived, and manipulated through discrete units. Think about it: recognizing that the “squares” are merely samples, not the essence, empowers engineers to choose the right representation for the task and inspires scientists to seek the underlying quanta that give rise to the smooth phenomena we observe. This duality underpins modern technology—enabling scalable designs, high‑fidelity rendering, and efficient compression—while also mirroring fundamental processes in physics, optics, and biology. In both art and nature, the art of illusion lies in knowing how many squares are needed to convince the eye that a circle is truly whole The details matter here..

New Additions

Just Came Out

Round It Out

Still Curious?

Thank you for reading about All These Squares Make A Circle. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home