Legio Memoriae Aeternae
An interactive exploration of the Roman legion through custom SVG visualizations and in-depth articles
Legio Memoriae Aeternae is an educational website about the Roman legion at its peak, during the High Empire. The main goal of the project was to synthesize dense historical sources in an interactive and accessible way. To achieve this, I focused as much on the content (historical research and writing) as I did on the website itself.

Historical Research & Content
To make sure the content was historically accurate, I relied on the work of modern historians (Yann Le Bohec, Adrian Goldsworthy, Giuseppe Cascarino, Alfred von Domaszewski) to write 14 detailed role guides and a glossary of nearly 200 terms, and to create reliable interactive visualizations. Because historical sources often contradict each other or leave gaps, turning them into exact visual diagrams required concrete choices, all of which are documented on a dedicated Sources & Choices page, and in page-specific notes under each illustration.
Visual Identity
Visually, the site draws its main inspiration from the game Disco Elysium, favoring painted portraits, modern typography and intuitive UI over the austere and dated style often used by educational websites.
Instead of a standard menu, the homepage uses an illustration of a ruined Roman temple split into interactive sections with custom SVG polygon hitboxes. Hovering over a section lights it up while dimming the rest, and provides the description of the corresponding page. Below, a Latin quote from Vegetius cross-fades into its translation on hover or tap.
Each of the 14 roles has its own associated color. Visiting a role page dynamically updates the UI accents, the text selection highlight, the header hover states, and even generates a matching SVG favicon in the browser tab.
To give the portraits an organic look, each frame appears held in place by semi-transparent pieces of tape, and tilts in a custom direction on hover. The angles are calculated from a hash of the role’s name so each portrait looks unique while remaining consistent between server and client rendering (preventing hydration mismatches).

Interactive Visualizations
Rather than using external chart libraries, all diagrams are built in pure SVG:
- The 5,000-Man Map (Organization): A procedural layout that places every single soldier of a full legion on the battlefield (10 cohorts, the double-strength first cohort, 4 cavalry squadrons, and the command staff) inside a zoomable, pannable canvas. Officers are surrounded by radial halos scaled to their rank.
- Rank & Pay Comparison (Hierarchy): A visual breakdown sorting roles by social class (senators, equestrians), authority, and pay. Salaries are represented by stacks of Roman coins, one coin representing the common legionary’s pay. The 1.5× pay multiplier (sesquiplicarius) is illustrated by a half-coin sliced with an SVG clip path.
- Career Paths (Evolution): A directed graph mapping how a basic recruit could climb the ranks. The SVG Bezier curves vary in thickness based on historical promotion probabilities.

Reading Experience, Mobile UX & SEO
To make navigating the site easier, a custom parser scans the Markdown text of each page and automatically turns any glossary term into interactive links (handling plurals, accents, synonyms, and overlapping words). On desktop, hovering over a Wiki term or a role displays a floating tooltip that follows the cursor. On mobile, since hover doesn’t exist and screen space is tight, the same component switches to a bottom sheet. All of the desktop content is adapted for smaller screens.
Under the hood, pages and definitions include structured JSON-LD data and are linked to their corresponding Wikidata entity QIDs for better indexing and academic cross-referencing.
Workflow & Methodology
My main interest in this project was product design, information architecture, visual choices, and historical accuracy. I focused my personal time on researching the subject, writing the content, designing the UI/UX, and defining how every feature should behave, while relying on AI tools to speed up the actual code implementation and assist with image generation.