✣
AN INTERACTIVE HISTORICAL ATLAS

THE COSSACK LINE

Preparing the Dniester valley...

3D graphics require WebGL2 and an initial connection to the Three.js library.
THE HISTORICAL ATLAS / VOLUME 01KHOTYN 1621
THE DNIESTER FRONTIER4 SEPTEMBER · A REIMAGINED DAY
LIVE SIMULATION
EPISODE I · THE NORTHERN REDOUBT

THE COSSACK LINE

An army of earth, timber, smoke and resolve.

ALLIED FORCES IN VIEW—
OTTOMAN FORCES IN VIEW—
FIELD WEATHERHAZE
FIELD OBSERVATION

Select a regiment or landmark

Tap a formation, cannon, wagon, or fortress. Right-click terrain to issue movement orders to a selected friendly regiment.

THE CHRONICLE · LIVE
FIELD MAP
COSSACK OTTOMAN
AN INTERPRETIVE RECONSTRUCTIONNOT A PRECISE ARCHAEOLOGICAL MODEL
THE HISTORY BEHIND THE WORLD · A DOCUMENTED CONFLICT / AN EXPERIMENTAL SIMULATION
01 / AN ARMY AT THE RIVER

The Battle of Khotyn, 1621

In September 1621, Ukrainian Zaporozhian Cossacks fought alongside the forces of the Polish–Lithuanian Commonwealth against the army of Ottoman Sultan Osman II beside the Dniester. The defensive encampments and repeated assaults made Khotyn a defining campaign of the early seventeenth century.

This interactive Three.js historical simulation places you at a fictionalized sector of the Cossack line. You oversee fieldworks, powder, rations, reserves and morale. The simulated regiments are deliberately scaled down: they represent tactical formations rather than the full armies. Your decisions change a hypothetical outcome, not the historical record.

1621CAMPAIGN YEAR
DNIESTERRIVER FRONTIER
45–47KHISTORIAN P. SAS'S PEAK ESTIMATE, INCLUDING SUPPORTING YOUTH
OCT 09PEACE CONCLUDED, 1621
02 / HISTORICAL BACKGROUND

Why Khotyn mattered

After the Commonwealth's defeat at Cecora in 1620, Ottoman and allied forces advanced toward the Dniester frontier. The Zaporozhian Cossacks, with a distinct military and political organization, joined a coalition defense. Petro Konashevych-Sahaidachny emerged as their leading hetman during the campaign, while Jan Karol Chodkiewicz commanded the Commonwealth's main army.

The defenders built a system of entrenchments and fortified camps. Musketeers, artillery, field fortifications and raids all mattered; the campaign was not simply a contest of heroic cavalry charges. Ottoman troops, supported by allied contingents, carried out repeated assaults. Cossack counterattacks and night raids were part of the defenders' response.

Battlefield estimates are disputed. Historian Petro Sas, examining contemporary military registers, proposed a peak Cossack strength of more than 43,000 combatants and roughly 45,000–47,000 including young attendants and support personnel. These are historical army-scale estimates, not the number of 3D agents in this application. The campaign concluded in an agreement on 9 October 1621.

03 / IN THE SIMULATION

History becomes a living system.

✣

Fieldworks & logistics

Repair a defensive line using timber, balance food against morale, and choose when to expend finite powder. Exhausted supplies have lasting consequences.

♞

Autonomous formations

Hundreds of individual 3D figures move as grouped infantry units, with cohesion, morale, advance, fall-back, losses, targeting and timed assaults.

✹

Coordinated volleys

Range and discipline govern simulated musket fire, while a costly concentrated volley can blunt an enemy charge. Artillery, smoke and muzzle flashes communicate the battle.

☼

A changing valley

Dynamic daylight, procedurally sculpted hills, a flowing Dniester, campfires, woodland, particulate haze and optional rain change the character of the field.

⌖

Direct command

Select a friendly regiment, inspect its strength, and right-click another point to redeploy it. Free flight, orbit inspection and a clickable tactical map support exploration.

◇

Evidence over myth

Object annotations and educational notes distinguish historical features from tactical abstractions, with public reference links for independent reading.

04 / FIELD MANUAL

How to command the line

Begin with the high ground, inspect the Cossack redoubts, and then study the advancing Ottoman formations. A full scenario ends at the evening checkpoint or earlier if the defensive line collapses.

ORBIT / TOUCHDrag to rotate; scroll or pinch to zoom; two-finger drag to pan.
FREE CAMERASwitch to FREE, then use WASD to travel, Q/E to descend/ascend, and drag to look.
SELECT & COMMANDClick a unit or a historical object for details. With a friendly regiment selected, right-click terrain to give it a movement order.
TACTICAL MAPClick anywhere on the field map to recenter the camera; use the map control to expand it.
CHANGE THE OUTCOMESet simulation speed, manage fire discipline and rations, order repairs, commit the reserve and decide whether to send a sortie.
RESET / QUALITYRestart with the same reproducible six-digit seed, or switch graphics quality and weather independently.
05 / HISTORICAL CHRONOLOGY

Thirty-eight days on the frontier.

The historical campaign extended beyond the playable day. Open a date to understand the broader sequence.

SUMMER 1621Coalition mobilizes

After the 1620 Cecora defeat, the Commonwealth prepared its Dniester defense and sought the participation of Zaporozhian Cossacks.

2 SEPTEMBERThe Ottoman assault begins

Ottoman forces under Sultan Osman II began attacks against the allied entrenched camps near Khotyn. The siege involved artillery and successive infantry assaults.

4 SEPTEMBERIntense fighting at the camps

Contemporary accounts and later historical studies describe major early-September fighting and Cossack offensive actions. This simulation chooses that date as an imagined playable episode.

9 OCTOBERA negotiated peace

The campaign concluded with the Peace of Khotyn. Its outcome had consequences for the balance of power and the political standing of the Cossacks.

06 / COMMON QUESTIONS

Frequently asked questions

Who were the Ukrainian Cossacks at the Battle of Khotyn in 1621?

The Zaporozhian Cossacks were an organized military and political community associated with the Dnipro region. In 1621 they joined the Commonwealth's defense against the Ottoman army. Petro Konashevych-Sahaidachny was a principal Cossack leader in the campaign.

Is this a historically exact reconstruction of Khotyn Fortress and the battlefield?

No. The broad geography, participants and types of field defenses are historically informed, but the playable landscape, camp placements, fortress silhouette, unit numbers and specific engagements are artistically interpreted. It is designed for education and experimentation, not archaeological measurement.

How did Cossack infantry fight in the seventeenth century?

Infantry using firearms, fieldworks, artillery and mobile fortified arrangements played important roles. At Khotyn, entrenchments and raids complemented the allied defensive strategy. The game's range, morale and powder rules simplify these tactics for playability.

How many Cossacks fought at Khotyn?

Numbers vary by source and definition. Historian Petro Sas's analysis of 1621 registers estimated more than 43,000 Cossack combatants at peak concentration and around 45,000–47,000 when younger attendants were included. Figures displayed by the simulator represent only a scaled demonstration detachment.

Can I play this historical Three.js simulation on a phone or without installing software?

Yes, on a modern phone or computer browser supporting WebGL2. You can serve the included website from a local HTTP server or publish it on static hosting. The initial page load requires internet access to fetch Three.js from a CDN; no account or game engine installation is required.

07 / DOCUMENTATION

Read the primary research trail

Research references for further study (external sites; sources are not bundled or redistributed):

  1. Encyclopedia of Ukraine — Battle of Khotyn
  2. Petro Sas — Number of Zaporozhian Troops at Khotyn, Ukrainian Historical Journal (2010)
  3. Khotyn Fortress State Historical and Architectural Reserve — The War of 1621: Narratives
  4. Encyclopedia of the History of Ukraine — Khotyn War, 1621 (Petro Sas)
FIELD MANUAL

Command the northern redoubt.

Orbit: left drag to rotate; wheel/pinch to zoom. Two-finger drag pans. Free camera: WASD movement, Q/E up/down, drag to look. Selection: tap a regiment, artillery emplacement, wagon line, or fortress to inspect it. Order: right-click terrain to move a selected allied regiment.

Manage powder, rations, timber, unit morale, and the line integrity. Alter simulated speed or weather. Your modeled force is a small, imaginary sector of the 1621 campaign rather than a full historical order of battle.

Mobile tip: use the FIELD COMMAND toggle in the top right to show/hide orders, and tap the map to move your view.

Made with 🤖 ChatGPT · Three.js