The Valley as the landing page: dragons first, routes on demand
- New tab order: The Valley, The Odds, The Dragons, Deep Dive, Data & Methods (Route Flow and Blue & Black fold into Deep Dive; methods into Data & Methods; old #links redirect). - explorer.js replaces the trails map and the route planner, with progressive disclosure: the painted valley shows landmarks and the dragons where riders meet them (faint = rarely met), no routes and no deaths; hover for a note; choose a dragon to draw every route to every place it can be bonded, with width = chance of still being on the route, and solid / dashed / dotted and opacity for how a route compares with the best; click a choice point to branch off and re-plan; "Why this route?" holds intervals and risks; a toggle shows the community's actual traffic; #valley/blue/meadow-Blue links. - dragons.js: original dragon silhouettes in six poses, built from simple parts. - Solver: route to one specific encounter (only: [...]); ENCOUNTERS per colour, including the Greens rescue for Orange and Brown. - The Odds rewritten for all six dragons, ranked easiest to hardest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bdf66afabc
commit
de80e99c74
+174
-176
@@ -312,41 +312,79 @@ td { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
|
||||
.journey { background: color-mix(in srgb, var(--surface) 85%, #000); }
|
||||
footer { border-top-color: var(--line); }
|
||||
|
||||
/* route planner */
|
||||
.planner-controls { align-items: end; }
|
||||
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
|
||||
.seg button { border: 0; border-radius: 0; background: transparent; padding: 7px 13px; color: var(--muted); font-size: 0.72rem; }
|
||||
/* the valley explorer (landing page) */
|
||||
.explorer { gap: 0; }
|
||||
.ex-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface);
|
||||
--frame: var(--vt, var(--accent)); border-color: color-mix(in srgb, var(--frame) 55%, transparent); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px color-mix(in srgb, var(--frame) 35%, transparent), 0 0 36px color-mix(in srgb, var(--frame) 14%, transparent); transition: box-shadow .3s; }
|
||||
@media (max-width: 980px) { .ex-shell { grid-template-columns: minmax(0, 1fr); } }
|
||||
.ex-map-wrap { position: relative; overflow-x: auto; background: #d9b07a; }
|
||||
#ex-map { display: block; width: 100%; min-width: 720px; height: auto; }
|
||||
#ex-map text { font-family: var(--font-body); }
|
||||
.ex-dragon { cursor: pointer; transition: opacity .25s; }
|
||||
.ex-dragon:focus-visible, .ex-mark:focus-visible, .ex-alt:focus-visible { outline: none; filter: drop-shadow(0 0 4px #fff); }
|
||||
.ex-mark, .ex-alt { cursor: pointer; }
|
||||
.ex-hint { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, #1d0a12 78%, transparent); color: #f6e6c4; font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; pointer-events: none; white-space: nowrap; }
|
||||
.ex-tip { position: absolute; z-index: 3; max-width: 260px; padding: 8px 10px; border-radius: 8px; background: #fbf0d6; color: #3b2416; font-size: 13px; line-height: 1.35; box-shadow: 0 4px 18px #0006; pointer-events: none; }
|
||||
.ex-panel { position: relative; border-left: 1px solid var(--line); }
|
||||
.ex-scroll { position: absolute; inset: 0; overflow: auto; display: grid; gap: 12px; align-content: start; padding: 18px; }
|
||||
@media (max-width: 980px) { .ex-panel { border-left: 0; border-top: 1px solid var(--line); } .ex-scroll { position: static; } }
|
||||
.ex-panel h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0; }
|
||||
.ex-choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
|
||||
.ex-dchip { display: grid; justify-items: center; gap: 2px; padding: 6px 4px 8px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); background: color-mix(in srgb, var(--raised) 85%, #000); color: var(--ink); font-size: .68rem; }
|
||||
.ex-dchip svg { width: 58px; height: 46px; }
|
||||
.ex-dchip[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 22%, var(--raised)); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 35%, transparent), inset 0 0 0 1px var(--c); }
|
||||
.ex-card { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
|
||||
.ex-toggle { display: flex; gap: 8px; align-items: center; font-size: var(--step--1); color: var(--muted); }
|
||||
.ex-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
|
||||
.ex-head svg { width: 64px; height: 52px; }
|
||||
.ex-head h2 { color: var(--c); }
|
||||
.ex-close { width: 32px; height: 32px; border-radius: 50%; padding: 0; font-size: 1.1rem; line-height: 1; }
|
||||
.ex-routes { display: grid; gap: 8px; }
|
||||
.ex-route-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: var(--step--1); }
|
||||
.ex-route-card.on { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
|
||||
.ex-route-card .nm { font-family: var(--font-display); font-size: 1rem; }
|
||||
.ex-route-card .nm em { font-style: normal; color: var(--muted); font-size: .8rem; }
|
||||
.ex-route-card b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
|
||||
.ex-route-card small { grid-column: 2 / 4; color: var(--muted); }
|
||||
.ex-swatch { grid-row: 1 / 3; width: 30px; height: 0; border-top: 6px solid var(--c); }
|
||||
.ex-swatch.dashed { border-top-style: dashed; } .ex-swatch.dotted { border-top-style: dotted; }
|
||||
.ex-key { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
|
||||
.ex-key span { display: inline-block; width: 22px; border-top: 4px solid var(--muted); }
|
||||
.ex-key .dashed { border-top-style: dashed; } .ex-key .dotted { border-top-style: dotted; }
|
||||
.ex-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
|
||||
.ex-steps li { border-radius: 8px; }
|
||||
.ex-steps li.chance { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding: 6px 10px; border: 1px dashed var(--line); font-size: var(--step--1); }
|
||||
.ex-steps li.chance small { grid-column: 1 / 3; color: var(--muted); font-family: var(--font-data); }
|
||||
.ex-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; width: 100%; text-align: left; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: var(--step--1); }
|
||||
.ex-step small { grid-column: 1 / 3; color: var(--muted); font-family: var(--font-data); }
|
||||
.ex-steps li.open .ex-step { border-color: var(--accent); }
|
||||
.ex-opts { display: grid; gap: 2px; padding: 6px 0 4px 10px; }
|
||||
.ex-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; text-align: left; padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: var(--step--1); }
|
||||
.ex-opt:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
|
||||
.ex-opt.on { background: color-mix(in srgb, var(--accent) 16%, transparent); }
|
||||
.ex-opt b { font-family: var(--font-data); }
|
||||
.ex-opt .rec { font-style: normal; font-size: 9.5px; font-family: var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--accent); border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
|
||||
.ex-why summary { cursor: pointer; font-family: var(--font-label); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--accent); }
|
||||
.ex-why { display: grid; gap: 6px; }
|
||||
.linklike { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; text-transform: none; letter-spacing: normal; cursor: pointer; }
|
||||
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; width: fit-content; }
|
||||
.seg button { border: 0; border-radius: 0; background: transparent; padding: 7px 13px; color: var(--muted); font-size: 0.7rem; }
|
||||
.seg button[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--raised)); color: var(--ink); }
|
||||
.pl-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
|
||||
.pl-close { color: var(--warn); margin: 0 0 4px; }
|
||||
.pl-kpi { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: grid; gap: 2px; align-content: start; }
|
||||
.pl-kpi b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--c, var(--ink)); line-height: 1.1; }
|
||||
.pl-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
|
||||
@media (max-width: 1050px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }
|
||||
.planner-shell { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--map-ground); --frame: var(--vt, var(--accent)); border-color: color-mix(in srgb, var(--frame) 60%, transparent); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px color-mix(in srgb, var(--frame) 40%, transparent), 0 0 30px color-mix(in srgb, var(--frame) 15%, transparent); }
|
||||
#planner-map { display: block; width: 100%; min-width: 760px; height: auto; background: #d9b07a; }
|
||||
.pl-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); }
|
||||
.pl-legend b { display: inline-block; width: 22px; height: 6px; border-radius: 3px; vertical-align: 2px; margin-right: 4px; }
|
||||
.pl-legend .sw-route { background: var(--vt, var(--accent)); box-shadow: 0 0 0 3px #fff1c955; }
|
||||
.pl-legend .sw-opt { background: repeating-linear-gradient(90deg, var(--vt, var(--accent)) 0 5px, transparent 5px 10px); opacity: 0.7; }
|
||||
.pl-legend .sw-roll { background: repeating-linear-gradient(90deg, var(--muted) 0 2px, transparent 2px 8px); }
|
||||
.pl-legend .sw-risk { width: 12px; height: 12px; border-radius: 50%; background: var(--ember); vertical-align: -2px; }
|
||||
.pl-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; max-height: 920px; overflow: auto; }
|
||||
.pl-step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
|
||||
.pl-step.chance { background: color-mix(in srgb, var(--surface) 82%, #000); border-style: dashed; }
|
||||
.pl-step.end { border-color: color-mix(in srgb, var(--vt, var(--accent)) 50%, var(--line)); }
|
||||
.pl-n { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; }
|
||||
.pl-step h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; margin: 0 0 6px; }
|
||||
.pl-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(36px, 1fr) minmax(64px, auto); gap: 8px; align-items: center; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 6px; padding: 4px 6px; color: var(--ink); font-family: var(--font-body); font-size: var(--step--1); text-transform: none; letter-spacing: normal; }
|
||||
button.pl-row { cursor: pointer; }
|
||||
button.pl-row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
|
||||
.pl-row.taken { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
|
||||
.pl-row i { display: block; height: 8px; border-radius: 3px; background: var(--c); width: var(--w); min-width: 2px; }
|
||||
.pl-row .m { text-align: right; display: grid; }
|
||||
.pl-row .m b { font-family: var(--font-data); font-weight: 600; }
|
||||
.pl-row .m small { color: var(--muted); font-family: var(--font-data); font-size: 10.5px; white-space: nowrap; }
|
||||
.pl-row .rec { font-style: normal; font-size: 9.5px; font-family: var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bg); background: var(--accent); border-radius: 999px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
|
||||
.pl-risk { color: var(--ember); margin: 0 0 4px; }
|
||||
|
||||
/* the odds, per dragon */
|
||||
.odds-colours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
@media (max-width: 900px) { .odds-colours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
||||
@media (max-width: 560px) { .odds-colours { grid-template-columns: minmax(0, 1fr); } }
|
||||
.odd-colour { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
|
||||
.odd-colour:hover, .odd-colour:focus-visible { transform: translateY(-2px); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 30%, transparent); }
|
||||
.odd-art { width: 110px; height: 88px; max-width: none; }
|
||||
.odd .go { font-family: var(--font-label); letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; color: var(--c); }
|
||||
.ladder { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 10px; }
|
||||
.ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
|
||||
.ladder li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 48px; gap: 10px; align-items: center; font-size: var(--step--1); }
|
||||
.ladder li i { display: block; height: 10px; border-radius: 4px; width: var(--w); background: var(--c); }
|
||||
.ladder li b { font-family: var(--font-data); text-align: right; }
|
||||
.combo { grid-template-columns: minmax(0, 1fr); }
|
||||
</style>
|
||||
|
||||
<header class="hero">
|
||||
@@ -361,29 +399,38 @@ button.pl-row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent)
|
||||
<span class="unofficial">Unofficial fan atlas for readers of Rebecca Yarros's <i>Fourth Wing</i> · not affiliated with Dragonkind</span>
|
||||
</div>
|
||||
<nav class="tabs" role="tablist" aria-label="Atlas pages">
|
||||
<button class="tab" role="tab" id="tab-overview" aria-controls="panel-overview" aria-selected="true">The Threshing</button>
|
||||
<button class="tab" role="tab" id="tab-planner" aria-controls="panel-planner" aria-selected="false">Route Planner</button>
|
||||
<button class="tab" role="tab" id="tab-valley" aria-controls="panel-valley" aria-selected="false">Valley Map</button>
|
||||
<button class="tab" role="tab" id="tab-flow" aria-controls="panel-flow" aria-selected="false">Route Flow</button>
|
||||
<button class="tab" role="tab" id="tab-rare" aria-controls="panel-rare" aria-selected="false">Blue & Black</button>
|
||||
<button class="tab" role="tab" id="tab-valley" aria-controls="panel-valley" aria-selected="true">The Valley</button>
|
||||
<button class="tab" role="tab" id="tab-odds" aria-controls="panel-odds" aria-selected="false">The Odds</button>
|
||||
<button class="tab" role="tab" id="tab-dragons" aria-controls="panel-dragons" aria-selected="false">The Dragons</button>
|
||||
<button class="tab" role="tab" id="tab-deep" aria-controls="panel-deep" aria-selected="false">Deep Dive</button>
|
||||
<button class="tab" role="tab" id="tab-share" aria-controls="panel-share" aria-selected="false">Data & Share</button>
|
||||
<button class="tab" role="tab" id="tab-data" aria-controls="panel-data" aria-selected="false">Data & Methods</button>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="wrap">
|
||||
<main>
|
||||
<div class="tabpanel" id="panel-overview" role="tabpanel" aria-labelledby="tab-overview">
|
||||
<div class="tabpanel" id="panel-valley" role="tabpanel" aria-labelledby="tab-valley">
|
||||
<section id="valley-sec" aria-labelledby="h-valley" class="explorer">
|
||||
<div class="ex-shell deco" id="ex-shell">
|
||||
<div class="ex-map-wrap"><svg id="ex-map" viewBox="0 0 1000 790" role="application" aria-label="Map of the threshing valley. Choose a dragon to see the routes to it."></svg>
|
||||
<div class="ex-hint" id="ex-hint">Choose a dragon to see the way to it</div>
|
||||
<div class="ex-tip" id="ex-tip" hidden></div>
|
||||
</div>
|
||||
<aside class="ex-panel" id="ex-panel" aria-live="polite"></aside>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-odds" role="tabpanel" aria-labelledby="tab-odds" hidden>
|
||||
<section id="overview" aria-labelledby="h-odds">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Before you walk into the valley</span>
|
||||
<h2 id="h-odds">Your odds, honestly</h2>
|
||||
<p class="muted small">Each grid of dots is 100 runs. These numbers lean on the riders who logged <i>every</i> run, including the dull ones, because people mostly share their lucky runs.</p>
|
||||
<p class="muted small">For each dragon: the chance a run ends bonded to it if you take the best route and die on purpose whenever it goes wrong. Each grid is 100 runs. The numbers lean on riders who logged <i>every</i> run, because people mostly share their lucky ones.</p>
|
||||
</div>
|
||||
<div class="odds" id="odds"></div>
|
||||
<div class="odds odds-colours" id="odds-colours"></div>
|
||||
<div class="combo" id="combo"></div>
|
||||
<div class="odds" id="odds"></div>
|
||||
</section>
|
||||
<section aria-labelledby="h-journey">
|
||||
<div class="section-head">
|
||||
@@ -394,119 +441,9 @@ button.pl-row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent)
|
||||
<p class="lore">In the books, first-years who survive to Threshing walk into a valley of unbonded dragons, and the dragons do the choosing. The Dragonkind site recreates that: every choice can end with you incinerated, and the author has said there is a 10% chance of that no matter what you pick.</p>
|
||||
</section>
|
||||
<section aria-labelledby="h-truths">
|
||||
<div class="section-head"><span class="eyebrow">What 2,500 runs say</span><h2 id="h-truths">Three things worth knowing</h2></div>
|
||||
<div class="section-head"><span class="eyebrow" id="h-truths-kicker">What the runs say</span><h2 id="h-truths">Three things worth knowing</h2></div>
|
||||
<div class="truths" id="truths"></div>
|
||||
<div class="cta"><button type="button" class="primary" data-go="valley">Walk the valley map</button><button type="button" data-go="rare">Chasing a Blue or Black?</button><button type="button" data-go="dragons">Meet the bonded dragons</button></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-planner" role="tabpanel" aria-labelledby="tab-planner" hidden>
|
||||
<section id="planner-sec" aria-labelledby="h-planner">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Interactive · the best route for each dragon, worked out from every logged run</span>
|
||||
<h2 id="h-planner">Plan your run</h2>
|
||||
<p class="muted small">Pick the dragon you want. The planner walks the valley with you: at every choice it shows each option's chance of bonding that dragon if you take it and then play the best route afterwards. At every roll of the dice it shows what can happen. Click any option, on the map or in the list, to see where another choice leads.</p>
|
||||
</div>
|
||||
<div class="controls planner-controls">
|
||||
<div class="target-group"><span class="lbl small muted">I want</span><div class="targets" id="planner-colours"></div></div>
|
||||
<div class="target-group"><span class="lbl small muted">Goal</span>
|
||||
<div class="seg" id="planner-obj" role="group" aria-label="Goal">
|
||||
<button type="button" data-o="eventually" aria-pressed="true" title="You will die on purpose and try again whenever the run goes wrong, so never risk ending on another dragon">Only this dragon, ever</button>
|
||||
<button type="button" data-o="thisAttempt" aria-pressed="false" title="Maximise the chance on this one run, even if that risks a different dragon">Best odds this run</button>
|
||||
</div></div>
|
||||
<div class="target-group"><span class="lbl small muted">Data</span>
|
||||
<div class="seg" id="planner-sample" role="group" aria-label="Data">
|
||||
<button type="button" data-s="all" aria-pressed="true" title="Every logged run">All runs</button>
|
||||
<button type="button" data-s="lowBias" aria-pressed="false" title="Only riders who logged every run, and riders not chasing a rare dragon (less selective reporting)">Low-bias</button>
|
||||
</div></div>
|
||||
<button type="button" id="planner-reset">Start again</button>
|
||||
</div>
|
||||
<div class="pl-head" id="planner-head"></div>
|
||||
<div class="pl-grid">
|
||||
<div class="planner-shell deco">
|
||||
<div class="valley-wrap"><svg id="planner-map" viewBox="0 0 1000 790" role="img" aria-label="Valley map with the recommended route and the chance attached to every option"></svg></div>
|
||||
<div class="legend small pl-legend"><span><b class="sw-route"></b> recommended route</span><span><b class="sw-opt"></b> other options, with the chance of your dragon if you take them</span><span><b class="sw-roll"></b> a roll of the dice</span><span><b class="sw-risk"></b> chance of being killed there</span></div>
|
||||
</div>
|
||||
<ol class="pl-steps" id="planner-steps" aria-label="Your run, step by step"></ol>
|
||||
</div>
|
||||
<p class="small muted">How this is worked out: every choice the community form records is a decision; which dragon appears, whether the shadow shows and who dies are rolls. Each roll's odds are allowed to depend on earlier choices, as much as the data support and no more (see Methods and <code>docs/POLICY.md</code>). "Alive" is the chance of reaching a bonding encounter at all. The bond chance inside each encounter is the community average, because the form does not record the answers given there.</p>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-valley" role="tabpanel" aria-labelledby="tab-valley" hidden>
|
||||
<section id="valley-sec" aria-labelledby="h-valley">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Interactive · drawn from the in-game descriptions, not an official map</span>
|
||||
<h2 id="h-valley">The valley</h2>
|
||||
<p class="muted small">Trails are as thick as the number of riders who walked them. Their colour shows how often walking that way ended with the dragon you pick below. Tap a place for what happened there.</p>
|
||||
</div>
|
||||
<div class="controls"><div class="target-group"><span class="lbl small muted">Colour the trails by</span><div class="targets" id="valley-targets"></div></div></div>
|
||||
<div class="valley-shell deco">
|
||||
<div class="valley-wrap"><svg id="valley" viewBox="0 0 1000 780" role="img" aria-label="Illustrated map of the threshing valley with trails"></svg></div>
|
||||
<div class="valley-foot"><div class="loc-card" id="loc-card"></div><div class="legend" id="valley-legend"></div></div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-flow" role="tabpanel" aria-labelledby="tab-flow" hidden>
|
||||
<section id="map-sec" aria-labelledby="h-map">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Interactive</span>
|
||||
<h2 id="h-map">Route map</h2>
|
||||
<p class="muted small">Pick an outcome. Click any box to keep only the runs that passed through it, and click more boxes to narrow further. Hover or tap a box or band for its numbers.</p>
|
||||
</div>
|
||||
<div class="controls" id="map-controls">
|
||||
<div class="target-group">
|
||||
<span class="lbl small muted">Rare dragons</span>
|
||||
<div class="targets" id="targets-rare"></div>
|
||||
</div>
|
||||
<div class="target-group">
|
||||
<span class="lbl small muted">Other outcomes</span>
|
||||
<div class="targets" id="targets-other"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<div class="ctl"><span class="lbl">Band width shows</span>
|
||||
<div class="seg" id="width-mode"><button type="button" data-v="traffic" aria-pressed="true">How many runs</button><button type="button" data-v="prob" aria-pressed="false">Chance of outcome</button></div></div>
|
||||
<div class="ctl"><label for="minn">Grey out steps with fewer runs than</label><input id="minn" type="number" min="1" max="200" value="10"></div>
|
||||
<div class="ctl"><label for="f-source">Data source</label>
|
||||
<select id="f-source"><option value="all">All rows</option><option value="form">Form submissions only</option><option value="bulk">Bulk logs only (imports)</option></select></div>
|
||||
<div class="ctl"><label for="f-goal">Players chasing</label>
|
||||
<select id="f-goal"><option value="all">Any goal</option><option value="exclude_rare">Not chasing Blue/Black</option><option value="only_rare">Chasing Blue/Black</option></select></div>
|
||||
<label class="check" for="f-flag"><input id="f-flag" type="checkbox"> Drop rows with data-quality flags</label>
|
||||
</div>
|
||||
<div class="map-shell deco">
|
||||
<div class="map-top">
|
||||
<div class="cond-chips" id="cond-chips"><span class="small muted">Showing all runs. Click a box to follow only the runs through it.</span></div>
|
||||
<div class="btnrow"><button type="button" id="btn-best">Show top routes for this outcome</button><button type="button" id="btn-clear">Clear selection</button></div>
|
||||
</div>
|
||||
<div class="map-scroll"><svg id="map" role="img" aria-label="Route map"></svg></div>
|
||||
<div class="map-foot">
|
||||
<div class="sel-summary" id="sel-summary"></div>
|
||||
<div class="legend" id="legend"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="best-routes"></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-rare" role="tabpanel" aria-labelledby="tab-rare" hidden>
|
||||
<section id="rare" aria-labelledby="h-rare">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Blue & Black</span>
|
||||
<h2 id="h-rare">The rare dragons</h2>
|
||||
<p class="muted small">Two separate rolls. The meadow Blue can join the Orange and Brown after you turn down the valley Red. The tree's shadow option leads to a Blue and then a Black.</p>
|
||||
</div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>Does the Blue show up in the meadow?</h3><p class="small muted">Share of meadow visits where a Blue was attempted, by who logged the run. The game cannot know which dragon a player is chasing, so gaps between these bars come from how people report, not from the game.</p><div class="chart" id="ch-blue-strata"></div></div>
|
||||
<div class="panel"><h3>Does the shadow show up at the tree?</h3><p class="small muted">Share of tree climbs where the shadow option led to a Blue and/or Black.</p><div class="chart" id="ch-shadow-strata"></div></div>
|
||||
</div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>What changes the Blue's appearance, once reporting bias is held fixed?</h3><p class="small muted">Adjusted odds ratios from one logistic model: route choices plus data source and chase goal. Bars that cross 1 mean no detectable effect.</p><div class="chart" id="ch-model-blue"></div><p class="small muted" id="model-blue-note"></p></div>
|
||||
<div class="panel"><h3>What changes the shadow's appearance?</h3><p class="small muted">Same approach for the shadow. With so few shadows, intervals are wide.</p><div class="chart" id="ch-model-shadow"></div><p class="small muted" id="model-shadow-note"></p></div>
|
||||
</div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>Day by day (form submissions)</h3><p class="small muted">Bulk imports carry no dates, so they are left out here. Dots are sized by the number of runs, and whiskers show 95% intervals.</p><div class="chart" id="ch-daily"></div></div>
|
||||
<div class="panel"><h3>Bonding once you reach them</h3><div class="chart" id="ch-rare-bond"></div>
|
||||
<details class="fold"><summary>Step-by-step survival inside the encounter (from the community PDF)</summary><div id="pdf-steps"></div></details>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cta"><button type="button" class="primary" data-go="valley">Walk the valley map</button><button type="button" data-go="deep">Dig into the statistics</button><button type="button" data-go="dragons">Meet the bonded dragons</button></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-dragons" role="tabpanel" aria-labelledby="tab-dragons" hidden>
|
||||
@@ -548,6 +485,66 @@ button.pl-row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent)
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-deep" role="tabpanel" aria-labelledby="tab-deep" hidden>
|
||||
<section id="map-sec" aria-labelledby="h-map">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Interactive</span>
|
||||
<h2 id="h-map">Route map</h2>
|
||||
<p class="muted small">Pick an outcome. Click any box to keep only the runs that passed through it, and click more boxes to narrow further. Hover or tap a box or band for its numbers.</p>
|
||||
</div>
|
||||
<div class="controls" id="map-controls">
|
||||
<div class="target-group">
|
||||
<span class="lbl small muted">Rare dragons</span>
|
||||
<div class="targets" id="targets-rare"></div>
|
||||
</div>
|
||||
<div class="target-group">
|
||||
<span class="lbl small muted">Other outcomes</span>
|
||||
<div class="targets" id="targets-other"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<div class="ctl"><span class="lbl">Band width shows</span>
|
||||
<div class="seg" id="width-mode"><button type="button" data-v="traffic" aria-pressed="true">How many runs</button><button type="button" data-v="prob" aria-pressed="false">Chance of outcome</button></div></div>
|
||||
<div class="ctl"><label for="minn">Grey out steps with fewer runs than</label><input id="minn" type="number" min="1" max="200" value="10"></div>
|
||||
<div class="ctl"><label for="f-source">Data source</label>
|
||||
<select id="f-source"><option value="all">All rows</option><option value="form">Form submissions only</option><option value="bulk">Bulk logs only (imports)</option></select></div>
|
||||
<div class="ctl"><label for="f-goal">Players chasing</label>
|
||||
<select id="f-goal"><option value="all">Any goal</option><option value="exclude_rare">Not chasing Blue/Black</option><option value="only_rare">Chasing Blue/Black</option></select></div>
|
||||
<label class="check" for="f-flag"><input id="f-flag" type="checkbox"> Drop rows with data-quality flags</label>
|
||||
</div>
|
||||
<div class="map-shell deco">
|
||||
<div class="map-top">
|
||||
<div class="cond-chips" id="cond-chips"><span class="small muted">Showing all runs. Click a box to follow only the runs through it.</span></div>
|
||||
<div class="btnrow"><button type="button" id="btn-best">Show top routes for this outcome</button><button type="button" id="btn-clear">Clear selection</button></div>
|
||||
</div>
|
||||
<div class="map-scroll"><svg id="map" role="img" aria-label="Route map"></svg></div>
|
||||
<div class="map-foot">
|
||||
<div class="sel-summary" id="sel-summary"></div>
|
||||
<div class="legend" id="legend"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="best-routes"></div>
|
||||
</section>
|
||||
<section id="rare" aria-labelledby="h-rare">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">Blue & Black</span>
|
||||
<h2 id="h-rare">The rare dragons</h2>
|
||||
<p class="muted small">Two separate rolls. The meadow Blue can join the Orange and Brown after you turn down the valley Red. The tree's shadow option leads to a Blue and then a Black.</p>
|
||||
</div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>Does the Blue show up in the meadow?</h3><p class="small muted">Share of meadow visits where a Blue was attempted, by who logged the run. The game cannot know which dragon a player is chasing, so gaps between these bars come from how people report, not from the game.</p><div class="chart" id="ch-blue-strata"></div></div>
|
||||
<div class="panel"><h3>Does the shadow show up at the tree?</h3><p class="small muted">Share of tree climbs where the shadow option led to a Blue and/or Black.</p><div class="chart" id="ch-shadow-strata"></div></div>
|
||||
</div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>What changes the Blue's appearance, once reporting bias is held fixed?</h3><p class="small muted">Adjusted odds ratios from one logistic model: route choices plus data source and chase goal. Bars that cross 1 mean no detectable effect.</p><div class="chart" id="ch-model-blue"></div><p class="small muted" id="model-blue-note"></p></div>
|
||||
<div class="panel"><h3>What changes the shadow's appearance?</h3><p class="small muted">Same approach for the shadow. With so few shadows, intervals are wide.</p><div class="chart" id="ch-model-shadow"></div><p class="small muted" id="model-shadow-note"></p></div>
|
||||
</div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>Day by day (form submissions)</h3><p class="small muted">Bulk imports carry no dates, so they are left out here. Dots are sized by the number of runs, and whiskers show 95% intervals.</p><div class="chart" id="ch-daily"></div></div>
|
||||
<div class="panel"><h3>Bonding once you reach them</h3><div class="chart" id="ch-rare-bond"></div>
|
||||
<details class="fold"><summary>Step-by-step survival inside the encounter (from the community PDF)</summary><div id="pdf-steps"></div></details>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="findings" aria-labelledby="h-findings">
|
||||
<div class="section-head">
|
||||
<span class="eyebrow">What the data supports</span>
|
||||
@@ -581,6 +578,26 @@ button.pl-row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent)
|
||||
</div>
|
||||
<div class="grid3" id="quality-panels"></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-data" role="tabpanel" aria-labelledby="tab-data" hidden>
|
||||
<section id="data-sec" aria-labelledby="h-data">
|
||||
<div class="section-head"><span class="eyebrow">Where the numbers come from</span><h2 id="h-data">Data</h2></div>
|
||||
<div class="data-status" id="data-status"><span class="loading">Loading data…</span></div>
|
||||
<div class="btnrow"><label class="filebtn" for="upload">Load a newer route export…<input id="upload" type="file" accept=".xlsx,.csv" hidden></label><button id="btn-reset-data" type="button" hidden>Back to bundled data</button></div>
|
||||
</section>
|
||||
<section id="share" aria-labelledby="h-share">
|
||||
<div class="section-head"><span class="eyebrow">Open by design</span><h2 id="h-share">Share & reproduce</h2>
|
||||
<p class="muted small">Everything on this page is recomputed in your browser from the raw form export. To update it, download the latest responses sheet (File → Download → Microsoft Excel) and load it with "Load a newer export" at the top. Column order does not matter, because questions are matched by their wording.</p></div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>Copy the outputs</h3>
|
||||
<div class="btnrow"><button type="button" id="cp-reddit" class="primary">Copy Reddit post (Markdown)</button><button type="button" id="cp-csv">Copy coded runs (CSV)</button><button type="button" id="cp-json">Copy all results (JSON)</button></div>
|
||||
<p class="small muted">The Reddit post is written from the current numbers and filters.</p></div>
|
||||
<div class="panel"><h3>Read the code</h3>
|
||||
<div class="btnrow"><button type="button" data-src="engine.js">engine.js (all rules and statistics)</button><button type="button" data-src="app.js">app.js (this page)</button><button type="button" data-src="python/clean.py">clean.py</button><button type="button" data-src="python/analyze.py">analyze.py</button><button type="button" data-src="python/stats_core.py">stats_core.py</button><button type="button" data-src="register.js">register.js</button><button type="button" data-src="README.md">README</button></div>
|
||||
<p class="small muted">The Python files are an independent second implementation. The test scripts confirm that both produce identical coded runs and identical odds ratios, p-values and model estimates.</p>
|
||||
<pre id="srcview" hidden></pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="methods" aria-labelledby="h-methods" class="method">
|
||||
<div class="section-head"><span class="eyebrow">How every number is made</span><h2 id="h-methods">Methods</h2></div>
|
||||
<div class="grid2">
|
||||
@@ -629,26 +646,6 @@ adjusted OR = exp(βⱼ), 95% CI = exp(βⱼ ± 1.96·SEⱼ)</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="tabpanel" id="panel-share" role="tabpanel" aria-labelledby="tab-share" hidden>
|
||||
<section id="data-sec" aria-labelledby="h-data">
|
||||
<div class="section-head"><span class="eyebrow">Where the numbers come from</span><h2 id="h-data">Data</h2></div>
|
||||
<div class="data-status" id="data-status"><span class="loading">Loading data…</span></div>
|
||||
<div class="btnrow"><label class="filebtn" for="upload">Load a newer route export…<input id="upload" type="file" accept=".xlsx,.csv" hidden></label><button id="btn-reset-data" type="button" hidden>Back to bundled data</button></div>
|
||||
</section>
|
||||
<section id="share" aria-labelledby="h-share">
|
||||
<div class="section-head"><span class="eyebrow">Open by design</span><h2 id="h-share">Share & reproduce</h2>
|
||||
<p class="muted small">Everything on this page is recomputed in your browser from the raw form export. To update it, download the latest responses sheet (File → Download → Microsoft Excel) and load it with "Load a newer export" at the top. Column order does not matter, because questions are matched by their wording.</p></div>
|
||||
<div class="grid2">
|
||||
<div class="panel"><h3>Copy the outputs</h3>
|
||||
<div class="btnrow"><button type="button" id="cp-reddit" class="primary">Copy Reddit post (Markdown)</button><button type="button" id="cp-csv">Copy coded runs (CSV)</button><button type="button" id="cp-json">Copy all results (JSON)</button></div>
|
||||
<p class="small muted">The Reddit post is written from the current numbers and filters.</p></div>
|
||||
<div class="panel"><h3>Read the code</h3>
|
||||
<div class="btnrow"><button type="button" data-src="engine.js">engine.js (all rules and statistics)</button><button type="button" data-src="app.js">app.js (this page)</button><button type="button" data-src="python/clean.py">clean.py</button><button type="button" data-src="python/analyze.py">analyze.py</button><button type="button" data-src="python/stats_core.py">stats_core.py</button><button type="button" data-src="register.js">register.js</button><button type="button" data-src="README.md">README</button></div>
|
||||
<p class="small muted">The Python files are an independent second implementation. The test scripts confirm that both produce identical coded runs and identical odds ratios, p-values and model estimates.</p>
|
||||
<pre id="srcview" hidden></pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<footer><div class="wrap"><p>Data: the community "Threshing Routes" Google Form and spreadsheet compiled by u/ClumsyBadger, with percentages in the route PDF by u/ClumsyBadger, u/Old_Regular3018 and u/Smart_Trifle_2099. This is an unofficial fan analysis, not affiliated with the Dragonkind site or its authors. A 10% "chaos" chance of incineration on any choice has been described by the author, so no route guarantees a bond.</p></div></footer>
|
||||
@@ -659,5 +656,6 @@ adjusted OR = exp(βⱼ), 95% CI = exp(βⱼ ± 1.96·SEⱼ)</div>
|
||||
<script src="register.js"></script>
|
||||
<script src="app.js"></script>
|
||||
<script src="valley.js"></script>
|
||||
<script src="planner.js"></script>
|
||||
<script src="dragons.js"></script>
|
||||
<script src="explorer.js"></script>
|
||||
<script src="ui.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user