Silver Waqf

A HALAL LOOP OF TRADE.
CHARITY IS THE RANK.

Home · Journal · Inside the Ottoman archery range: how our arrows fly

Article

Inside the Ottoman archery range: how our arrows fly

Silver Waqf has an archery range of its own, and a Hall of Quivers, kept apart from the board game, with no shared saves or code paths. A shot on the range does not move a board piece. The courtyard is named for Okmeydanı, and menzil stones stand there — a nod to Okmeydanı, the archers’ waqf. Alhamdulillah, here is how an arrow flies, as the live code does it today.

A steady clock

Flight is stepped at a fixed 1/120 of a second, accumulated so it does not depend on the frame rate. A long frame is capped at 0.1 seconds, with up to sixteen substeps, then interpolated (lerp for position, slerp for rotation), so a modest phone can keep a smooth arrow when frames arrive unevenly.

Gravity and air

Gravity is 9.81 m/s2. Drag is quadratic, from speed relative to the air (wind sampled at mid-shaft), split along and across the shaft, with k = 0.5 ρ Cd A / m. Air density is 1.2 kg/m3. Mass is 28 g, which the code notes sits within the 20–40 g period range for Ottoman target arrows. Forward Cd is 1.8 (pile, nock and fletching end-on); drift Cd is 1.1. A 0.725 m shaft, 4.3 mm radius and 0.0024 m2 of fletching give kfwd of about 0.0022 /m and kdrift of about 0.20 /m, so a crosswind pushes roughly ninety times harder side-on than drag slows the arrow head-on.

Weathercocking

When relative airflow is at least 1.5 m/s, the shaft slerps toward that flow at 14 per second, a time constant of about 70 ms, as a fletched arrow turns into the wind.

Reading the wind

Once a stage starts, the wind is a deterministic, seeded field. A gust lasts about four seconds and travels down the range at 8 m/s, so you can watch it arrive. Height follows the open-terrain power law (y / 2 m)1/7, so wind is stronger higher up and lofted shots drift more. Stage 1 sits at 0.2–0.5 m/s, stage 8 at 5.0–9.0 m/s. You read the wind from the flags and the pennant.

Holding the draw

Aim is a cone of 0.15° at rest, 0.03° once Wind-Sense locks, and at most 0.25° under fatigue, which does not reduce power or speed. A stamina clock runs only while the draw is at least 3% past 50% tension, and resets to zero at 50% or below, so easing off is rest. Its rate is:

holdFatigueRate(tension) {
  if (!(tension > 0.5)) return 1;
  const d = tension - 0.5;
  return Math.min(1 + 4 * d * d, 2);
}

That is 1× at 50%, about 1.36× at 80%, and 2× at full draw. Each draw is given an onset of 12–16 s and a peak of 46–54 s on that scaled clock, ramping linearly; at full power, shaking starts after about 6–8 real seconds. Tremor eases over 0.25 s. Bow sway can reach 0.028 rad (about 1.6°) of yaw, with pitch at 72% of that, from three layered sines with a fresh phase on each shot; camera shake can reach 12 mm sideways and about 10 mm vertically. Loosing, letting down or cancelling clears it at once, with no carry-over between shots. The 30-second shot clock caps the hold.

The bow

The bow is a braced Turkish reflex, about 80 cm tip to tip: a rigid kabza grip with brass ferrules, working sal limbs, the kasan bend, and rigid siyah tips with horn string bridges. The string sits 19 cm behind the grip. On the draw, the limb pivots rotate, the siyahs stay rigid, and the string is re-laid every frame. It is a thumb draw: the string is offset 1 cm toward the drawing side, and the arrow sits on that side of the grip, beside an ivory arrow plate, 25.3 mm off centre — right for a right-hander, mirrored for a left-hander, the opposite of the Mediterranean convention.

The bow is drawn faithfully, but its power comes from a simple tuned curve, not a simulated limb. There is no draw-force curve, stored energy, efficiency, siyah let-off, draw length, release dynamics, string oscillation or archer’s paradox, and no thumb-ring release model. Launch speed, in metres per second, is:

launchSpeed(draw) = 18 + 30 * draw^2

A full draw on the rope stages (7 and 8) receives a ×1.18 boost, about 57 m/s — a gameplay concession.

Targets and scoring

Three pear-shaped leather putas stand at 18, 32 and 46 m, and a hanging rope at 58 m. Each physics step tests the swept segment from the previous tip to the current one against the faces, posts, rope, ground and walls, so a fast arrow cannot tunnel through. A puta face is a 1.0 × 1.3 m pear; its ring centre sits 0.42 m above the face bottom, with radii 0.075, 0.18 and 0.30 m scoring 10, 7 and 4, and the rest of the pear scoring 1. A line-cutter rule subtracts the shaft radius from the distance, so an arrow that touches a line takes the higher ring. The rope scores 10; a miss scores 0. Each of the eight stages is six arrows.

Saves that keep every arrow

You have 30 seconds per shot. The clock turns red and pulses at five seconds or less, and pauses on overlays. A tournament is saved once Stage 1 is complete, then after every arrow and every state change, so you can resume mid-stage. Each record is written twice to localStorage (a backup key first, then the live key) and mirrored to IndexedDB, so a crash mid-write still leaves one complete copy. A corrupt record is quarantined, never deleted.

Left-handed mode

Left-handed mode mirrors only the bow, the hand and the HUD side: the power bar moves to the left edge and the wind vanes flip. Aim space and physics are the same for either hand.

Honest simplifications

The arrow is a rigid point-mass with an orientation: no shaft flex, spin or lift, and drag coefficients do not change with Reynolds number. Wind has no vertical component, and no buildings shadow it, apart from the height profile. Distances are shortened — real Ottoman flight shooting (menzil) went far beyond 58 m, and these are mid-weight target arrows, not flight shafts. The rope-stage boost and the bow’s speed curve are concessions we would rather name than hide.

Whatever is sound here is from Allah, and whatever is flawed is from ourselves.