Wrist DopeWrist Dope™

AI tools / Create a reticle

Create a reticle

Have an AI assistant write your scope's reticle as a file Wrist Dope opens. Give it the scope's name, the reticle page of its manual, or a photo of the reticle. It writes the marks in MIL or MOA and lists anything it had to estimate.

Wrist Dope draws the reticle from the file and shows the hold for each shot on it. Check it against your scope before you trust a hold on it.

Use it

Copy this into ChatGPT, Claude or another assistant, then add your own words, a file or a photo after it:

Look at wristdope.com/aitools/create-reticle and make a Wrist Dope reticle for my scope:

If your assistant cannot open links, copy the full instructions and paste them in with what you want. Then open what it gives you with Wrist Dope: share the file to Wrist Dope, tap the link it made, or paste the text under Reticle Settings > My reticles > Paste reticle text.

Files for assistants


The instructions

Make a reticle for Wrist Dope

Your goal is to create a reticle that is compatible with the Wrist Dope ballistics app's .wdreticle format. Wrist Dope draws the reticle from your file and shows the hold for each shot on it, so the marks should sit where they sit in the real scope.

Where the reticle comes from

I will give you one of these. Work with whatever I give you.

  • A picture: a photo or screenshot of the reticle, or of the manual page that shows it.
  • A link or a document: the scope's manual, a subtension sheet, a product page.
  • A name: "find the reticle for my scope" with the scope or reticle named. Look it up. Search the web if you can; if you cannot, use what you know and tell me that you did.
  • A description: "a hash every half MIL out to 10, with a tree of dots below".

How to turn that into numbers:

  1. Published dimensions (a subtension table, numbers on a drawing) are the best source. Use them wherever they exist.
  2. Where there is no number, measure it off the picture. Take something you do know as the scale (hash spacing is almost always a whole or half MIL, or a whole number of MOA) and size the rest against it.
  3. Where you still cannot tell, use what is usual for that kind of reticle. A sensible estimate is better than a missing mark. Usual sizes: a hash 0.2 to 0.4 MIL long (about 1 MOA), numerals 0.4 MIL tall (about 1.5 MOA), a centre dot 0.05 to 0.1 MIL across (about 0.25 MOA).
  4. If something big is unclear (MIL or MOA is the usual one), ask me one short question. Otherwise pick the likely answer and keep going.

What to give me back

  1. The reticle as a file I can open. If you can run code or attach files, attach it named <reticle name>.wdreticle. On my phone I tap the file, choose Share, and pick Wrist Dope.
  2. The reticle as a link. If you can run code, also make the import link described under "The import link" below and give it to me on its own line in a code block, so I can copy it. Tapping that link on my phone opens Wrist Dope with the reticle ready to import.
  3. The file's text, complete, in one code block: valid JSON, nothing left out, no "…". Always give me this, whatever else you can do. I can copy it and paste it in Wrist Dope under Reticle Settings > My reticles > Paste reticle text.
  4. What you estimated: a short list of anything you measured off a picture or assumed. Put the same sentences in the file's "assumptions" list. The app shows them to me, so I know what to check against my scope.
  5. If the scope is second focal plane: the magnification at which the reticle's dimensions are true. I set that on the gun in Wrist Dope.

If I ask for a change afterwards, give me all of it again (file, link, text), not only the part that changed.

The .wdreticle format (version 1)

A reticle file is one JSON object: a short header and a list of marks.

{
  "format": "wristdope.reticle",
  "schemaVersion": 1,
  "name": "Simple MIL crosshair",
  "unit": "mil",
  "lineThickness": 0.05,
  "source": "Scope manual, reticle page",
  "assumptions": ["Numeral height is not given; 0.4 MIL used."],
  "marks": [
    {"note": "centre dot and the four arms"},
    {"dot": [0, 0, 0.1]},
    {"line": [0.5, 0, 10, 0], "mirror": "x"},
    {"line": [0, 0.5, 0, 10], "mirror": "y"},
    {"note": "a hash every MIL on the left and right arms"},
    {"ladder": {"n": [1, 10], "step": [1, 0]}, "mirror": "x", "each": [
      {"line": [0, -0.2, 0, 0.2]}
    ]},
    {"note": "a hash every MIL on the lower arm, numbered at 5 and 10"},
    {"ladder": {"n": [1, 10], "step": [0, 1]}, "each": [
      {"line": [-0.2, 0, 0.2, 0]},
      {"if": {"every": 5}, "label": [0.6, 0, 0.4, "{n}"]}
    ]}
  ]
}
FieldRequiredMeaning
formatyesAlways "wristdope.reticle". Write it first.
schemaVersionyesAlways 1. Write it second.
nameyesThe reticle's name, 1 to 40 characters.
unityes"mil" or "moa". The unit of every number in the file.
lineThicknessyesHow thick the reticle's lines are, in the unit. If you do not know it, 0.04 MIL or 0.15 MOA is typical.
marksyesThe list of marks.
kindno"etched" (the default) for a scope, "dot" for a red dot or holographic sight.
illuminationnoWhat lights up: "redParts" (the default, only marks with "ink": "red") or "whole" (the whole reticle).
sourcenoWhere the dimensions came from, up to 120 characters.
assumptionsnoUp to 24 sentences, 160 characters each: what you estimated.

Coordinates and units

  • Every position and size is an angle in the file's unit, measured from the centre of the reticle, [0, 0].
  • x grows to the right. y grows DOWNWARD. A hold-over mark below the centre has a positive y. A mark above the centre has a negative y.
  • Arc angles are in degrees: 0 points right, 90 straight down, 180 left, 270 (or -90) straight up.
  • Write the file in the unit the reticle is laid out in, so whole numbers stay whole. Do not convert a MOA reticle to MIL or the other way.
  • MOA here is true MOA. 1 MIL = 3.438 MOA = 10 cm at 100 m = 3.6 in at 100 yd. 1 MOA = 0.2909 MIL = 1.047 in at 100 yd. If a source uses "1 inch at 100 yards" as its MOA, multiply its numbers by 0.9549.
  • Write the dimensions as the scope's maker states them. For a second focal plane scope that is at one magnification; tell me which.

Marks

Each entry of "marks" is one object holding exactly one kind of mark.

KindWrittenMeaning
Line{"line": [x0, y0, x1, y1]}A straight line, as thick as lineThickness. Add "w": 0.1 to give it its own width.
Dot{"dot": [x, y, diameter]}A filled dot. The third number is the diameter. For a red dot sight, {"dot": [0, 0, "dot"]} means the sight's own dot size.
Numeral{"label": [x, y, height, "12"]}Text centred on [x, y], height tall. 1 to 6 characters from 0-9 A-Z a-z . + -. Add "light": true for a numeral printed on a solid post.
Filled shape{"shape": [[x, y], [x, y], [x, y]]}A filled outline, corners in order; it closes itself. A corner may be an arc: {"arc": [radius, from, to]}, with "at": [cx, cy] if its centre is not [0, 0]. 3 to 512 points.
Bar{"bar": [x0, y0, x1, y1, thickness]}A solid bar with square ends, straight across or straight up and down. thickness is its full width. Add "post": true for a heavy outer post.
Arc{"arc": [radius, from, to]}A ring or part of one, drawn as a line. A full circle is [radius, 0, 360]. "w" is its width, "at": [cx, cy] its centre if not [0, 0].
Ladder{"ladder": {…}, "each": [ … ]}Repeats the marks inside it at even steps. See below.
Comment{"note": "…"}Draws nothing. Use it to label each group of marks.

A filled ring segment is an outer arc one way and an inner arc back: {"shape": [{"arc": [1.4, 210, 330]}, {"arc": [1.2, 330, 210]}]}.

Ladders: anything that repeats

{"ladder": {"n": [first, last], "by": 1, "step": [dx, dy], "at": [x, y]}, "each": [ marks ]}
  • The rungs are numbered n = first, first + by, … up to last. Whole numbers. by defaults to 1.
  • Rung n sits at at + n × step, and the marks inside are drawn with that point as their origin. at defaults to [0, 0]. So with "step": [0.5, 0], rung 4 is at x = 2.
  • "each": [ … ] draws every entry at every rung.
  • "first": [ … ] (in place of "each") draws, at each rung, only the first entry whose "if" holds. Put the plain "otherwise" entry last. An entry with an "if" and no mark leaves that rung empty.
  • "if" on an entry tests the rung number: {"every": 5} (divisible by 5), {"every": 5, "rem": [1, 4]} (dividing by 5 leaves 1 or 4), {"is": [1, 3]} (1 or 3), {"in": [4, 8]} (from 4 to 8). Several in one "if" must all hold.
  • {n} in a numeral's text is the rung number, not its position. With "step": [0, 2], rung 5 sits at 10 and {n} prints 5. To print 10 and 20 there, use a ladder whose rung numbers are the values: "n": [10, 20], "by": 10, "step": [0, 1].
  • A ladder may hold ladders, up to 4 deep. A tree of dots is a ladder of rows, each row a ladder of dots.

A hash every 0.5 MIL out to 10 on both sides, long at whole MILs and short at halves, with the even MILs numbered above the line:

{"ladder": {"n": [1, 20], "step": [0.5, 0]}, "mirror": "x", "first": [
  {"if": {"every": 2}, "line": [0, -0.2, 0, 0.2]},
  {"line": [0, -0.1, 0, 0.1]}
]},
{"ladder": {"n": [2, 10], "by": 2, "step": [1, 0]}, "mirror": "x", "each": [
  {"label": [0, -0.6, 0.4, "{n}"]}
]}

A tree of dots: rows at 1 to 6 MIL below the centre, each with a dot every MIL out to 6 MIL on both sides:

{"ladder": {"n": [1, 6], "step": [0, 1]}, "each": [
  {"ladder": {"n": [1, 6], "step": [1, 0]}, "mirror": "x", "each": [
    {"dot": [0, 0, 0.08]}
  ]}
]}

For a tree that widens as it goes down, write one ladder per row, each with its own "n".

Attributes

On any mark, or on a ladder (where they apply to everything inside):

  • "mirror": "x" also draws it reflected left to right. "mirror": "y" top to bottom. "mirror": "xy" in all four quarters. A mirror always reflects about the centre of the reticle, wherever the mark or ladder sits. A mark that lands on itself (a hash that straddles the axis) is drawn once.
  • "ink": "red" marks a part that lights up. The default is "black".

The format is strict

  • Use only the fields listed here. A field the format does not have ("width", "color", "radius", "comment") makes the app refuse the whole file.
  • No comments in the JSON, no trailing commas, no key written twice. Use "note" for comments.
  • Every number within ±5000. At most 6,000 marks once ladders and mirrors are expanded, and at most 200 filled shapes.

What it cannot draw

Curves that are not arcs of circles (trace them as a filled shape), a numeral's typeface or rotation, more than two inks (black, and red for lit), and anything that moves with the scope's settings. Leave such a part out, or draw the nearest thing, and tell me.

Only if you can run code. Do not work the link out by hand: one wrong character and the app refuses it. If you cannot run code, skip the link and say so.

The link is wristdope://open#z. followed by the file's JSON, compressed with raw DEFLATE (no zlib or gzip header) and written as base64url with no = padding. In Python:

import json, zlib, base64

reticle = { ... }   # the reticle file, as a dict

text = json.dumps(reticle, separators=(",", ":"))
deflater = zlib.compressobj(9, zlib.DEFLATED, -15)          # -15 = raw DEFLATE
packed = deflater.compress(text.encode("utf-8")) + deflater.flush()
link = "wristdope://open#z." + base64.urlsafe_b64encode(packed).decode("ascii").rstrip("=")

# check it reads back to the same file before you give it to me
body = link.split("#z.", 1)[1]
body += "=" * (-len(body) % 4)
assert json.loads(zlib.decompress(base64.urlsafe_b64decode(body), -15)) == reticle

open(reticle["name"] + ".wdreticle", "w", encoding="utf-8").write(json.dumps(reticle, indent=2))
print(link)

Give me the link exactly as printed, unbroken, in a code block. If your app can show a tappable link, also write it as a link named "Open in Wrist Dope".

Before you answer, check the file

Fix anything this finds, then answer. You do not need to show the check.

  1. It is one valid JSON object and starts with "format": "wristdope.reticle", "schemaVersion": 1.
  2. Every mark is exactly one of line, dot, label, shape, bar, arc, ladder or note, with no field this page does not list.
  3. Down is positive: the lower arm and any tree have positive y, the upper arm negative y.
  4. For each ladder, work out where its first, second and last rungs land (at + n × step). The first mark, the spacing and the last mark match the reticle.
  5. A hash that is 0.4 long runs from -0.2 to 0.2. A dot carries its diameter, not its radius.
  6. A spacing is not a position: "0.2" between hashes is a step; "2" beside a hash is where it sits.
  7. Only what is the same on both sides is mirrored.
  8. Every number is in the file's unit.

Reference files