← Java Roque Archive
primary result · the j spiral · logarithmic

The J Spiral

F. Javier Roqueñi Healy
The unique, recursively self-similar logarithmic spiral whose single revolution has an arc length of exactly 3·d — and whose every subsequent revolution, forever, has the same property. This is the finding everything else in this project was circling toward.
Defining constant — J ≈ 4.4485%
Self-similarity ratio — 0.911031 per revolution
Constraint — Arc Length = 3·d, for every revolution n
Status — generic transcendental, no closed form found
The 10,000-decimal expansion of J, typeset along the J Spiral
Every decimal of J — "4.4484594870086844..." — typeset directly on the J Spiral itself, 40 revolutions, font size shrinking 8.897% (= 2·J%) per revolution, exactly matching the spiral's own decay. (j_constant_logarithmic_digit_spiral.py — see Fig. 5.3)

Abstract. Of every spiral family explored in this project (linear, hyperbolic, power-law, 3D extensions — see Sec. 8), exactly one has a property that holds not just for a single revolution, but recursively, forever: the logarithmic spiral r(θ) = R·e^(−kθ), with k chosen so that one revolution's arc length equals exactly 3·d. We call this curve the J Spiral, and its defining constant the J Constant (logarithmic), J ≈ 4.4485%. Every other branch in this project was an experiment in the same direction — a different answer to "how should r(θ) decay?" — but only the logarithmic answer turns out to be exact at every scale, infinitely. This page documents that result: its definitions, its proof of uniqueness, the deep-decimal anatomy of J itself, and the full set of visual, live, and audio artifacts built from it.

01Naming — Why "The J Spiral"

A circle of diameter d has circumference π·d. If you instead build a spiral whose first revolution has arc length exactly 3·d — using the "naive" substitution π → 3 — the curve cannot close back into a circle, because 3 < π. It is geometrically forced to spiral inward by a fixed amount every revolution.

Among all the curves that satisfy this constraint for their first revolution (Sec. 8 walks through several), the logarithmic spiral is the only one for which the constraint keeps being true forever — every revolution, at every scale, has arc length exactly 3 times its own diameter (proved in Sec. 3). That recursive exactness is what earns this particular curve its own name, rather than being just "a logarithmic spiral with some k."

Also calledthe Escape Spiral
Familylogarithmic / equiangular spiral
Distinguishing propertyLn = 3·dn for every n ∈ ℕ

02Definitions — Basic & Scientific

2.1Basic definition

J% is the percentage by which the J Spiral's radius shrinks after one full revolution, when that revolution is built so its arc length equals exactly 3 diameters instead of π diameters — i.e. "what if π were exactly 3?" J is the size of the gap left behind by that 0.1416 shortfall, expressed as a percentage of the diameter.

2.2Scientific definition

For the logarithmic spiral r(θ) = R·e^(−kθ), let k be the unique positive root of:

√(1+k²) · (R/k) · (1 − e^(−2πk)) = 3d (d = 2R)

i.e. the arc length of one revolution equals 3 diameters. Define the self-similarity ratio as ratio = e^(−2πk) = r(2π)/R. Then:

J = [(R − r(2π)) / d] × 100 = [(1 − ratio) / 2] × 100 ≈ 4.4485%
d, R10, 5
k0.014830
ratio = e^(−2πk)0.911031
J4.4485%

J is the percentage of the diameter "lost" between the start and end radius of a single revolution — the geometric residue produced by substituting 3 for π in the relationship between a circle's circumference and its diameter.

03Why This Spiral Is Unique

Define dn = diameter at the start of revolution n, and Ln = arc length of revolution n (θ ∈ [n·2π, (n+1)·2π]). Every branch in this project is built so that L₀ = 3·d₀ by construction. The question is: does Ln = 3·dn for n > 0 too — or was the "3×diameter" property only ever true for the very first loop?

For the J Spiral, both dn and Ln scale by the exact same factor (ration) every revolution, because r(θ) = R·e^(−kθ) is self-similar — revolution n is a perfect scaled copy of revolution 0:

d_n = d₀ · ratio^n L_n = L₀ · ratio^n L_n / d_n = L₀ / d₀ = 3 for EVERY n

This was verified directly, loop by loop, across 24 revolutions — not assumed, computed:

loop ndnLnLn / dn
010.00000030.0000003.00000000
19.11030827.3309243.00000000
46.88862020.6658613.00000000
84.74530914.2359283.00000000
123.2688639.8065903.00000000
162.2517966.7553883.00000000
201.5511774.6535303.00000000
231.1728993.5186963.00000000
24-revolution logarithmic spiral, self-similarity proof
Fig. 3.1 — j_constant_logarithmic_multirevolution.py: 24 revolutions of the J Spiral. Every ring is a 0.911031-scaled copy of the previous one, and Ln/dn = 3.00000000 exactly, for all 24 loops, to 8 decimal places.

Also verified: r(θ) = R·e^(−kθ) is a single smooth function with no hardcoded per-revolution resets, and d₁ = d₀·(1 − 2J) emerges as a direct algebraic consequence of J's own definition — not a coincidence requiring separate proof.

3.1Compared to every other branch

No other branch in this project has this property. A linear (Archimedean) spiral has a constant Δr per revolution, so the ratio dn+1/dn drifts — the same absolute Δr becomes a larger fraction of a shrinking diameter, so Ln/dn ≠ 3 for n > 0. Hyperbolic and power-law spirals behave similarly: L₀ = 3d₀ by construction, but the ratio is not preserved. The J Spiral is the only branch where "3×diameter" is true at every scale — which is also exactly why it is the only branch capable of the infinite fly-through animations in Sec. 5.

04The Anatomy of J

J was computed to 10,000 decimal places using arbitrary-precision arithmetic (mpmath, 10,060 digits of working precision), then examined for hidden structure: digit statistics, continued fraction expansion, and an inverse-symbolic search against classical constants.

k = 0.0148298287373989745945158401466640975163130380239311480751403668210... ratio = 0.9110308102598263115404173678338863306269130865786372833685289224829... J = 4.44845948700868442297913160830568346865434567106813583157355387585457...

4.1Digit statistics (first 10,000 decimals)

Digit frequencies9.15% – 10.52% (expect ~10% each)
Chi-square (9 dof)13.6 (critical value at p=0.05 is 16.9)
Longest run of one digit4 (e.g. "6666")
All 100 two-digit pairs (00–99)?yes, within first 1,000 digits
"0123456789", "999999", etc.?not found
Repeated 6-digit blocks (first 5,000)14 (≈12.5 expected by chance)

Every test result is consistent with what you'd expect from a statistically normal, generic irrational number — no bias, no periodicity, no embedded patterns.

4.2Continued fraction expansion

CF(J) = [4, 2, 4, 2, 1, 5, 1, 3, 1, 2, 43, 1, 1, 2, 7, 31, 1, 3, 2, 3, 1, 2, 11, 3, 1] CF(ratio) = [0, 1, 10, 4, 5, 1, 9, 1, 1, 3, 1, 21, 5, 14, 1, 1, 1, 29, 5, 1, 3, 1, 17, 1, 2] CF(k) = [0, 67, 2, 3, 6, 3, 6, 1, 2, 6, 1, 7, 2, 1, 2, 3, 1, 1, 2, 1, 11, 2, 1, 3, 1]

These look like a textbook "generic irrational" — small integers distributed roughly per Gauss-Kuzmin statistics, with no periodicity (periodicity would mean J is a quadratic irrational — a root of an integer-coefficient quadratic — it is not). The standout values — 43 at position 11 of CF(J), 67 at position 2 of CF(k) — just mean an unusually good rational approximation exists at that point; this happens routinely in any irrational's expansion (π's CF has a famous 292) and is not evidence of structure.

4.3Inverse symbolic search

mpmath.identify() searched J, J/100, ratio, k, k·2π, and −ln(ratio) for a closed-form expression in terms of {π, e, φ, √2, √3, ln2, Catalan, Euler-Mascheroni}.

Result for every quantity testedNone — no closed form found

This is the expected, honest outcome. J is the root of a "mixed" equation — √(1+k²)/k (algebraic) combined with e^(−2πk) (transcendental in the exponent). Equations that mix algebraic and exponential terms this way essentially never have elementary closed-form solutions (not even Lambert W, because of the extra √(1+k²)/k factor). There was never a structural reason to expect J to relate to π, e, or φ in a simple way.

4.4Verdict

J appears to be a generic transcendental number specific to this geometric construction — a real, well-defined mathematical object, with no detected relation to classical constants. Its specialness is geometric (Sec. 3), not numerological: it is the unique self-similar spiral with the 3×diameter property, and that is where its significance lies.

06Live — Inside the J Spiral

Because the J Spiral is exactly self-similar — every revolution is the same shape, scaled by 0.911031 — it is the only branch that supports true infinite "fly-through" animation. These run live, computed frame-by-frame in JS/Canvas directly from j_constant_logarithmic_unwind.py, j_constant_logarithmic_zoom.py, and j_constant_logarithmic_tunnel.py.

6.1Self-Similar Unwind

The spiral drawn frame-by-frame across 12 revolutions, colored by revolution.

logarithmic_unwind

6.2Push-In (2D Camera Dolly)

The full spiral is drawn once; the camera zooms in at the same 91.1031% rate per revolution as the spiral itself shrinks — the spiral appears to hold still while the viewer flies toward the center.

logarithmic_zoom

6.3The Tunnel (3D + Perspective)

The spiral extruded along a depth axis into a helix and flown through with a pinhole camera.

logarithmic_tunnel

07Sonification

The same exponential law that defines the J Spiral's radius defines a continuous pitch glide: f(θ) = A4 · e^(−kθ) = A4 · r(θ)/R. Because pitch perception is logarithmic, this exponential decay produces a perfectly linear glide in cents — a constant-rate portamento, directly audible as the spiral's own decay rate.

f(θ) = A4 · e^(−kθ) cents(θ) = −(1200·k / ln2) · θ (linear in θ) Over 12 revolutions: 440 Hz → 143.83 Hz (−1.613 octaves)
Inward glide (440 Hz → 143.83 Hz)j_logarithmic_pitch_inward.wav
Outward glide (143.83 Hz → 440 Hz)j_logarithmic_pitch_outward.wav
Harmony — all branches, J Spiral includedj_constant_harmony.wav

08The Experiments — Everything That Led Here

Every branch below answers the same question — "if a string of length 3d spirals once around a circle, how does r(θ) decay?" — with a different decay law. None of them survive Sec. 3's recursive test (Ln = 3·dn for all n); the J Spiral (Sec. 1–3) is the only one that does. This section is the full research trail — every model, every figure, every dead end — that led to that result.

8.1The Baseline — Type-A Archimedean

The simplest possible model: a linear (Archimedean) spiral where the radius decreases by a fixed total amount Δr over one revolution, with Δr defined directly from the π-vs-3 discrepancy:

r(θ) = R − (Δr / 2π)·θ Δr = (1 − 3/π) · d ≈ 0.4507 J = 1 − 3/π ≈ 4.507%
Δr0.450703
r(2π)4.549297
Arc Length (2D)30.003388
J4.507%

Note that the 2D arc length of this curve (30.0034) is already almost exactly 30 — the "naive" Δr derived from 1 − 3/π happens to produce a curve whose own length is barely different from the 3·d target. This is the seed observation that everything else grew from.

2D Archimedean spiral, one revolution
Fig. 8.1 — j_constant_archimedean_2d.py: the baseline linear spiral, J = 4.507%.
3D conical spiral baseline
Fig. 8.2 — j_constant_spiral.py: the same curve lifted into 3D as a cone. Solving for a drop height H that brings the 3D arc length to exactly 30 yields H ≈ 0.000005 — the flat (2D) spiral already saturates the target almost perfectly.

8.2New Archimedean — Type-B Reformulation

Type-A defines Δr first (from 1 − 3/π) and only checks the arc length afterward. Type-B inverts the logic: it fixes the arc length at exactly 3·d = 30 and solves for whatever linear decay rate k makes that true, via scipy.optimize.minimize_scalar. This is the "honest" version — it takes the constraint ("a string of length 3d") literally and lets Δr fall out as a result.

r(θ) = R − k·θ k solved so that: ∫₀^2π √(k² + r(θ)²) dθ = 3d = 30
k0.071904
Δr = k·2π0.451784
r(2π)4.548216
Arc Length (check)30.000010
J4.5178%
New Archimedean linear spiral
Fig. 8.3 — j_constant_new_archimedean_2d.py: J = 4.5178%, almost identical to Type-A but derived the opposite direction.

The two values — 4.507% (Type-A) and 4.5178% (Type-B) — are close but not identical. The difference (≈0.011 percentage points) is the "diagonal tax": a straight line of length 3d traces slightly less radial distance than a pure radial drop of 1 − 3/π would suggest, because some of that length is spent going around, not just in.

8.3Alternative Decay Laws — Hyperbolic

Solved under the exact same constraint (arc length = 3d = 30, one revolution), the hyperbolic spiral produces the lowest J of any "natural" decay law tried:

Hyperbolic spiral
Fig. 8.4 — j_constant_hyperbolic.py
r(θ) = R / (1 + kθ), k = 0.015293
J = 4.3832%

Unlike the logarithmic case (Sec. 1–3), neither this hyperbolic decay nor the linear decays above preserve the 3×diameter ratio beyond revolution 0 — only the logarithmic spiral is recursively self-similar, which is why it became the J Spiral.

8.43D Extensions — Perfect Symmetry & Gravity Well

Both 3D variants keep the same 2D radial decay (Type-A: r(θ) = R − (Δr/2π)θ) and add a depth coordinate z(θ), then ask whether the 3D arc length can still be made to equal 3d = 30.

Perfect Symmetry — H = Δr

z(θ) = −(H / 2π)·θ, H = Δr = 0.450703
z(2π)−0.450703
3D Arc Length30.006775
Target (3d)30.000000
J4.507%
Perfect symmetry 3D conical spiral
Fig. 8.5 — j_constant_perfect_symmetry.py: setting the depth drop equal to Δr stretches the 3D arc length slightly past 30 (+0.0068) — close, but not exact.

Gravity Well — z(θ) = −H·(1 − e^(−cθ))

Here we ask the inverse question: solve for H such that the 3D arc length hits exactly 30. The result is a mathematical dead end — worth keeping for what it reveals.

Minimum possible 3D length (H = 0)30.003388
Target30.000000
Best-fit H (minimize_scalar)≈ 3.42 × 10⁻⁶
J4.507%

Because any nonzero depth only adds length, and the flat curve already exceeds 30 by 0.0034, no H ≥ 0 reaches exactly 30. H → 0 is the closest possible answer — i.e. the "gravity well" wants to be perfectly flat.

Gravity well 3D spiral
Fig. 8.6 — j_constant_gravity_well.py: H collapses to ~0, the curvature surface is shown for illustration only.

8.5The J(p) Landscape

Generalizing the decay law to r(θ) = R − k·θp (with k re-solved for every p so the arc length is always exactly 30) lets us sweep a continuous "shape" parameter p and watch J respond.

J range, p ∈ [0.3, 3.0]2.9861% – 9.1846%
J at p = 1 (New Archimedean)4.5178%
Reference: J Spiral (logarithmic)4.4485%
Reference: hyperbolic spiral4.3832%
J(p) landscape and overlay
Fig. 8.7 — j_constant_landscape_2d.py: the J(p) curve (left) and representative spirals across the landscape (right).

Extending the same sweep to multiple revolutions n gives a full 2-parameter surface J(p, n):

J range over (p, n) grid2.9351% – 9.1846%
J(p=1, n=1)4.5178%
J(p=1, n=5)4.5075%
J(p=0.3, n=5)2.9351%
J(p=3.0, n=5)8.9578%
J(p,n) terrain surface and heatmap
Fig. 8.8 — j_constant_terrain.py: J(p, n) as a 3D surface and a top-down heatmap.

8.6Phase Portraits — The "DNA" of Each Spiral

Plotting each branch's (r, dr/dθ) trajectory as θ goes 0 → 2π reveals the shape of its decay law independent of its absolute scale:

Linear: dr/dθ = −k (horizontal line) Logarithmic: dr/dθ = −k·r (line through origin) Hyperbolic: dr/dθ = −(k/R)·r² (parabola) Power-law: dr/dθ = −k·p·θ^(p−1) (power curve)
Phase portraits of all spiral branches
Fig. 8.9 — j_constant_phase_portrait.py: every branch's "DNA," symlog y-scale.

8.7Art Series — The Same Math, Pushed Toward the Visual

The J Mandala

Every branch becomes a ring; its radial variation (the J gap) is amplified ×12 and repeated with 12-fold rotational symmetry. Color encodes J%.

J Mandala
Fig. 8.10 — j_constant_mandala.py

The J Fractal Nest

The New Archimedean spiral (ratio = r(2π)/R = 0.909643) nested 28 times with golden-angle rotation between levels. Because the decay is linear, every nested level shares the same J = 4.5178%.

Self-similarity ratio0.909643
Levels28
Total length (28 levels)308.60 (30.86×d)
Total length (n → ∞)332.02 (33.20×d)
J Fractal Nest
Fig. 8.11 — j_constant_fractal_nest.py

Shape Morph (animation, static preview)

Animates the power-law exponent p from 0.3 → 3.0 → 0.3, redrawing the r(θ) = R − k·θp spiral live as J changes from ~2.99% to ~9.18%. Preview shows p = 3.0 (J ≈ 9.18%, the most back-loaded / highest-J shape).

Shape morph preview
Fig. 8.12 — j_constant_shape_morph.py (run locally for the full animation)

The Race

Five branches (New Archimedean, Logarithmic, Hyperbolic, Power-law p=0.3, Power-law p=2.0) all start at (R, 0) and race to θ = 2π — visualizing how differently each decay law "spends" the same arc-length budget.

The Race, final frame
Fig. 8.13 — j_constant_race.py, final frame (run locally for the full animation)

The Full Unwind

The New Archimedean (linear, Type-B) spiral continues past θ = 2π at the same rate k = 0.071904 until r(θ) = 0 — at θ ≈ 69.54 rad, i.e. 11.07 revolutions.

Full Unwind, final frame
Fig. 8.14 — j_constant_full_unwind.py, final frame (run locally for the full animation)

8.8Every J, Side By Side

BranchDecay lawJ (%)Self-similar for all n?
Type-A Archimedean (baseline)r = R − (Δr/2π)θ, Δr = (1−3/π)d4.5070no
New Archimedean (Type-B, linear)r = R − kθ4.5178no
Logarithmic — the J Spiralr = R·e^(−kθ)4.4485yes
Hyperbolicr = R/(1+kθ)4.3832no
Power-law p = 0.3r = R − kθ^p2.9861no
Power-law p = 0.5r = R − kθ^p3.3945no
Power-law p = 0.7r = R − kθ^p3.8389no
Power-law p = 1.5r = R − kθ^p5.6581no
Power-law p = 2.0r = R − kθ^p6.8117no
Power-law p = 3.0r = R − kθ^p9.1846no
Perfect Symmetry (3D, H = Δr)z = −(H/2π)θ, H = Δr4.5070no
Gravity Well (3D, H → 0)z = −H(1−e^(−cθ))4.5070no

2.99% – 9.18% total observed range of J across every model explored

↑ back to top