Moves only; no behaviour changes. Every file now lives under the part of the project it belongs to, each section has a README, and docs/PRIVACY.md collects the rules all parts follow. core/ engine.js, graph.js, solver.js, python/clean.py collection/ sources/ (form, register, PDF check, daily update), bot/ (importer) analysis/ stats/ (Python statistics), network/ (build-graph.js), reports/ (POLICY.md) planner/ build-policy.js, policy-report.js site/ atlas/ (the page), build.js, qa/ tests/ core/ (unit), parity/ (JS vs Python), fixtures/ Checked against the previous layout: tests pass; coded runs, test outputs, graph.json and policy.json are byte-identical; the built site differs only in comments that name file paths. The published file names Ken's bot downloads (solver.js, graph.js, data/policy.json) are unchanged. Also removes the undefined/ folder of QA screenshots committed by mistake (the QA scripts now default to a temp folder) and test.txt, and drops the unused npm workspaces. Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.6 KiB
Markdown
33 lines
1.6 KiB
Markdown
# Dragon colours
|
||
|
||
Two palettes, one per background. Both were chosen so that every pair of dragon colours stays distinguishable for
|
||
readers with the common colour-vision deficiencies, not only with normal vision. Check them with:
|
||
|
||
```
|
||
python site/qa/check_colours.py
|
||
```
|
||
|
||
It reports CIEDE2000 colour differences for every pair under normal vision and simulated protanopia, deuteranopia and
|
||
tritanopia (Machado et al. 2009, full severity), and the contrast of each colour against its background.
|
||
|
||
| Dragon | Map ink (on the painted valley), `valley.js` `INK` | Page colour (on the dark page), `index.html` `--dr-*` |
|
||
|---|---|---|
|
||
| Red | `#cc3346` | `#e8435e` |
|
||
| Orange | `#e08a2a` | `#ff9533` |
|
||
| Brown | `#4e3020` | `#d1a47a` |
|
||
| Green | `#2f8f6f` (a blue-leaning green) | `#3fc0a8` |
|
||
| Blue | `#2a58b8` | `#7ea6ff` |
|
||
| Black | `#22182a` | `#e0d8ea` (silver, so it shows on the dark page) |
|
||
|
||
**Before this check**, the map's Red and Green were nearly identical under deuteranopia (difference 1.4), and on the dark
|
||
page Orange and Brown were too close even for normal vision (9.7). The worst pair is now about 12–13 on both palettes
|
||
(roughly "clearly different side by side").
|
||
|
||
What still relies on more than colour, on purpose:
|
||
|
||
- every dragon also has its own pose and sits in its own place on the map, and every route and card is labelled with
|
||
the dragon's name;
|
||
- text on the map is always dark ink; the dragon colour is used for lines, silhouettes and label borders only
|
||
(Orange and Green are too light to read as text on the paper background);
|
||
- silhouettes carry a paper-coloured halo so dark dragons stay visible on the dark canopy.
|