The Exponential Barbershop Principle: A 'Ruler of the Universe' That Measures Any Unit

A ruler built on exponential functions that can measure any self-defined unit — and a meditation on measurement itself.
The Ruler of the Universe is a universal measuring tool built on the "exponential barbershop principle": the nth graduation corresponds to the function n×2^x, keeping the spacing between adjacent lines equal at every point along the ruler. This lets users define their own "1" — a tooth, a centimeter, an inch — and find a matching position anywhere on the ruler. The video also surveys historical units like the Chinese cun, the royal cubit, and the barleycorn (the basis of modern shoe sizes), while incorporating the hydrogen line as a universal interstellar reference. It closes with a wordplay-driven insight: "ruler" means both a measuring tool and one who governs — a call to reclaim the sovereignty of measurement.
Have you ever imagined a ruler that could measure any unit you can think of — centimeters, inches, or even the width of your mom's tooth? A tool called the Ruler of the Universe does exactly that, and it's built on a surprisingly elegant mathematical principle.
This video presents what looks like an absurd art experiment but turns out to be a rigorously designed measuring instrument. Its power lies not in the markings themselves, but in the exponential relationships between them.
A Ruler That Measures Any Unit
A traditional ruler has fixed graduations: 1 centimeter is 1 centimeter, and a tooth's width might come out to an awkward 1.17 cm. The Ruler of the Universe flips this logic — it lets you define the unit.
In the video, the creator sets one tooth's width as "1," making it trivial to measure how many teeth fit across his mouth: the answer is 5.3. This "arbitrary unit" approach frees the ruler from any absolute standard, making it serve the user's immediate needs instead.

The ruler is also remarkably useful for equal division. The creator needs to drill six evenly spaced holes between two points on a plank. The conventional method — measure the total length, divide by six — is tedious. With this ruler, you simply tilt and rotate it until exactly six lines span the interval, and the division points appear naturally. Need the midpoint? Rotate until an even number of lines spans the gap: try four, then two, and the center reveals itself.
The Exponential Barbershop Principle: Why the Ruler Works
The mathematical soul of this ruler is what the creator calls the exponential barbershop principle. It shares its design DNA with the Shepard tone — that endlessly ascending audio illusion — playing in the video's background.
The principle is straightforward: the nth line on the ruler traces the function n × 2^x. As these exponential curves unfold along the x-axis, the distance between any two adjacent lines remains constant. In other words, no matter what unit length you want, somewhere along the ruler there's a spot where adjacent lines are spaced exactly that far apart.

This means the same ruler acts as a centimeter ruler in one region and, a little further along, the spacing between adjacent lines becomes exactly one inch — making it an inch ruler. The creator aptly describes it as "calipers, but iterated." One ruler, infinite units.
The Shepard tone is a famous auditory illusion in psychoacoustics, designed by cognitive scientist Roger Shepard in 1964. It layers multiple sine waves separated by octaves, with each component's volume shaped by a bell curve — very soft at the high and low frequency ends, loudest in the middle. When all components shift up by a semitone while simultaneously cycling back down an octave, listeners perceive a scale that "rises forever without ever reaching the top" — the acoustic equivalent of Escher's infinite staircase. The Ruler of the Universe shares the same topological structure: wherever you move along the ruler, the local pattern of line spacing looks identical to every other location, creating a similar self-similar, cyclic sensation. This isn't merely a visual gimmick — it physically embodies a core property of exponential functions: in logarithmic coordinates, multiplicative relationships become additive, so equal-ratio spacing appears visually as equal-interval spacing.
From Teeth to Barleycorns: A Forgotten History of Human Measurement
The second half of the video uncovers a richer cultural dimension: the ruler comes preloaded with historical and cross-cultural units of measurement.
- The Chinese cun and Japanese sun: traditional East Asian length units;
- The digit: 28 digits make one royal cubit, reportedly used to build the Ark (whether for animals or the Ark of the Covenant);
- The barleycorn: the creator's personal favorite.

The barleycorn was standardized by King Edward II of England in 1324, defined as the width of a single grain of barley. Sounds completely irrelevant today? Quite the opposite — modern shoe sizes are based on the barleycorn. Your shoe size is how many barleycorns your foot exceeds 21, 22, or 23 inches. The video creator's foot measures out to 25 plus 32.5 barleycorns, which is why the shoe store hands him a size 10.5. This trivia elegantly connects a medieval unit to everyday contemporary life.
The Royal Cubit was ancient Egypt's most important length standard — approximately 52.3 to 52.5 cm — defined as the distance from the elbow to the tip of the middle finger plus one palm width, totaling 28 digits (each about 1.87 cm). During the Pharaonic era, standard cubits were carved into granite for preservation, and craftsmen had to regularly calibrate their wooden working cubits against these; errors above a certain threshold were punishable. The Bible records Noah's Ark as 300 cubits long, 50 cubits wide, and 30 cubits high — all in this unit. Early human measurement systems almost universally referenced the human body — the foot, the inch (from thumb width), the cubit, the hand — a kind of embodied universality that let anyone approximate a unit without any standard instrument. The tradeoff was precision that varied from person to person, creating friction in cross-regional trade and construction, which ultimately drove the historic shift toward abstract, reproducible physical constants as measurement standards.
Measuring the Universe: A Reflection on Localization vs. Standardization
What if you meet an alien someday? The ruler has that covered too — it includes the hydrogen line, the universal physical constant used on the Pioneer plaques and Voyager Golden Records to communicate scale to extraterrestrial civilizations.

The video closes with a philosophical observation: for most of human history, measurement was local — units were nearby, embodied and ephemeral, like feet, fingers, and barleycorns. Then we cast a "golden idol" (meaning absolute standards like the SI units), and from that point on, instead of us ruling, we became ruled.
The wordplay here is exquisite: ruler means both a measuring instrument and one who governs. The Ruler of the Universe's deeper message is about returning the sovereignty of measurement to the user — wherever and whenever you are, you can be the ruler of your own universe.
The hydrogen line, also known as the 21-centimeter line, is electromagnetic radiation emitted when a neutral hydrogen atom transitions between two hyperfine energy states, with a wavelength of approximately 21.106 cm and a frequency of about 1420 MHz. Because hydrogen is the most abundant element in the universe, this spectral line is universally present and maintains a constant frequency, making it a kind of "cosmic metric" that transcends civilizations and languages. On the Pioneer 10 plaque launched in 1972, scientists used the frequency and wavelength of the hydrogen transition as baseline units to indicate human height and spacecraft dimensions for any extraterrestrial civilization that might intercept it. The Voyager Golden Records used the same strategy. By incorporating the hydrogen line into its scale, the Ruler of the Universe can theoretically communicate length information to any entity with a grasp of basic physics — extending the philosophy of "arbitrary units" to an interstellar scale.
A Creative Work Fusing Mathematics, History, and Art
Setting aside its tongue-in-cheek membership perks and mock-marketing gags, this video is at its core excellent science communication and creative expression. It weaves together exponential functions, Shepard tones, the history of measurement, and philosophical reflection — all through a single ruler — to illuminate a profound truth: units are human conventions.
For anyone who enjoys mathematical visualization, the history of science, or creative engineering, content like this offers a rare kind of inspiration: the most interesting knowledge is often hiding right behind the everyday tools we take for granted.
Related articles

GitHub Daily · October 23: Agent Runtimes and Skill Libraries Surge on the Same Day
NVIDIA open-sources OpenShell, a Rust security runtime for autonomous agents; Claude-Red turns security methodology into SKILL.md skills; VoxCPM2 drops the tokenizer.

Build an AI Super Employee System at Zero Cost: A Full Breakdown of Automated Agent Workflows
A deep breakdown of the AI super employee system demoed on Bilibili: agent orchestration, digital human voiceovers, map and enterprise lead generation, 24/7 customer service, and legal modules. We analyze the business logic and compliance risks behind zero-cost signup to help entrepreneurs judge the real ROI of this AI digital employee system.

The Essential Difference Between Chatbots and AI Agents: Crossing from Conversation to Execution
What's the difference between a chatbot and an AI agent? Based on the MCP series on the Learn Tech channel, this article uses examples like booking flights and summarizing notes to explain: a chatbot only gives answers, while an agent actually completes tasks through a think-act-observe loop. It breaks down the four core components—model, tools, memory, and goal—as well as MCP's role as a bridge, and discusses agents' applicable boundaries and permission risks.