AlphaLogo Project · Heptapod B · Mathematical Linguistics
The first formal mathematical parameterization of the circular written language from Arrival encoding alien logograms into a navigable geometric space.
49 known logograms · Fourier skeleton · Live morphing
Context
In Denis Villeneuve's Arrival (2016), a species of seven-limbed heptapods communicates through circular ink glyphs, each one encoding a complete sentence in a single continuous mark. Unlike linear human languages, Heptapod B has no beginning and no end. Its circularity reflects a non-linear perception of time: the writing of a sentence implies knowledge of the whole sentence before the first mark is made.
AlphaLogo treats each logogram as a closed parametric curve in the complex plane decomposing it via Fourier analysis into a compact 783-dimensional vector Φ(L). This encoding is invertible, translation-invariant, and machine-readable.
The analogy is the Laplace transform: just as a differential equation can be solved algebraically in the s-domain, logograms can be studied, compared, and morphed in Φ(L)-space then inverted back to their original form.
The work sits at the intersection of computational linguistics, differential geometry, and Fourier analysis applied to a language that has never before been formally described.
Logogram Reference
Every logogram recorded from the film. Click any symbol to view the original ink rendering alongside its skeletal Fourier reconstruction, meaning, and encoding metadata.
AlphaLogo Method
Three steps take a raw logogram PNG to a machine-readable geometric fingerprint which is lossless, invertible, and ready for computational analysis.
Each 224×224 PNG is binary-thresholded and reduced to its medial axis skeleton via the Zhang-Suen algorithm. Thick brushstrokes become 1-pixel centerlines of the true geometric curve beneath the ink.
Each skeleton curve becomes γ(t) = x(t) + i·y(t), a closed complex-valued parametric curve. Its Discrete Fourier Transform yields coefficients c_n of rotating circles at different frequencies that together trace the logogram's shape. This is the Ptolemaic epicycle representation made rigorous.
Normalized Fourier coefficients are packed into a 783-dimensional vector Φ(L) with translation, scale, and rotation invariant. The vector is the logogram's geometric fingerprint: unique, invertible, and directly usable as input to any ML pipeline.
Open Science
AlphaLogo is an open project. Whether you are a linguist, a mathematician, a developer, or simply a fan who watched Arrival and never quite recovered, there is a place for you here.
Full source code, the heptapod_encode pipeline, Track 1 results, and the research paper are all publicly available. Fork, star, open issues, submit PRs.
https://github.com/binarybrainspy/alphalogo →The encoding pipeline is a clean Python module. Install it, run it on your own logogram dataset, extend the scoring, or build new visualization tools on top of the Φ(L) matrix.
Quick start guide →The generated candidate logograms need grammatical validation. If you work in constructed languages, semiotics, or computational linguistics and want to collaborate on formalizing Heptapod B grammar then reach out.
lucascollections31@gmail.com →