Draft: Zyphos Atlas scoping (design note + one sample page) #7
5 changed files with 254 additions and 0 deletions
75
notes/atlas/design.md
Normal file
75
notes/atlas/design.md
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
# Zyphos Atlas: design note (PROPOSAL)
|
||||
|
||||
**Not canon.** Scoping for an illustrated, encyclopedic gallery of Zyphos, a gift for Deru, who owns the setting. Nothing here edits the vault, the site or any machine. Author: Weksa. Stacks on PR #6 (`notes/art-briefs-proposals.md`, whose briefs supply the illustration slots).
|
||||
|
||||
## What the Atlas is
|
||||
|
||||
A gallery of single-page entries, one per real vault note. Each page presents the note's own text, decorated; elaborations and pictures are offered separately, labelled as proposals for Deru to accept or cut. The vault stays the only source of canon. The Atlas holds none.
|
||||
|
||||
## What counts as canon here
|
||||
|
||||
Only what Deru has approved, and the vault does not mark approval per page. Working rule, stated as a guess for Deru to correct:
|
||||
|
||||
- **Treated as canon:** `Eusocial Interbeing/` notes as they stand on `main`, except pages that say they are not: `World/Zyphos Simulation Brief.md` ("not a complete canon note") and the numbers in `World/Zyphos Umbros Binary System.md` ("working baseline").
|
||||
- **Treated as canon from the language work:** Deru's sound outline only as recorded in the Weksa repo (`settings/eusocial-interbeing/language-design.md`, "Sa'ueia Sound"): five vowels; no `h q y`; no two consonants and no two identical vowels adjacent; short, soft, open words; suffixing; roots `ila` (walk), `weru` (know), `olune` (breeding ground); suffix `-um`. The species name `Sa'ueia` is canon. Every other name is a draft.
|
||||
- **Treated as proposals:** everything in `notes/inhabitant-names-draft.md`, `notes/art-briefs-proposals.md`, and anything the Atlas adds.
|
||||
|
||||
## Entry template
|
||||
|
||||
One entry is three artefacts, kept in separate files:
|
||||
|
||||
1. **Canon extract.** The note's text verbatim at a named commit, with its path and the authors from `git log`. Never retyped from memory or paraphrased; the only change a render makes is dropping wikilink brackets. The Atlas build reads the vault; it keeps no second copy of a fact.
|
||||
2. **Proposal file** (`<entry>.proposal.md`, headed PROPOSAL). Sections: *Elaborations* (each extends one canon sentence and says what it would change), *Illustration slots* (each cites a brief in PR #6 or a new one, with its canon line), *Questions for Deru*.
|
||||
3. **Page render.** Canon in the main text; proposals only in boxed or marginal areas labelled PROPOSED. The page must read correctly with the proposals removed.
|
||||
|
||||
An accepted elaboration enters the vault by Deru's own edit; the Atlas never edits the vault.
|
||||
|
||||
## Voice
|
||||
|
||||
Encyclopedic, plain, in-world and topic-facing, as the vault's `AGENTS.md` asks: concrete subjects, cause and effect stated, one unfamiliar idea at a time, no concluding aphorism, no mention of drafting. The Atlas adds only framing (captions, labels, "what a visitor sees"). Caption voice is observational and dated, like a field plate.
|
||||
|
||||
## Illustration slots
|
||||
|
||||
Up to three per page, each tied to one canon sentence:
|
||||
|
||||
- **Plate:** full width; the entry's place or scene. Reuse a brief from PR #6.
|
||||
- **Spot:** small, inline; a single object or organism (PR #6 objects, e.g. brief 8 or 11).
|
||||
- **Vignette:** margin ornament drawn from the entry's theme (a ruled border, a repeating motif).
|
||||
|
||||
Prompts live in the proposal file with the canon line they come from. Per the image doctrine, the exact prompt is saved beside each image and each iteration is rendered from scratch. Nothing is generated here; Deru runs any image on his own machine and decides.
|
||||
|
||||
## Calligraphic adaptation and the decoration script
|
||||
|
||||
Meta confirmed that the decoration script is `bloom-sheet` (Eureka skill, `tools/bloom-sheet/`: `bloom_sheet.py`, `grow.py`, `page.tex`; `/usr/local/bin/bloom-sheet`). The Atlas page is built with its plant grower, unmodified, in a calligraphic look kept in this repo:
|
||||
|
||||
- `tools/atlas/calligraphic-page.tex` stands in for the skill's `page.tex`. `grow.py` writes generic primitives (`\neonfill`, `\neondot`, `\petalwash`, `\neonframe`, `\panel`) and colour names, so a new page file restyles the whole plant. Here the neon palette becomes inks on parchment: oxblood, verdigris, indigo ink, ochre, gold leaf for flower centres. Strokes are flat ink with a hairline edge, no glow; panels are ruled parchment cards inside a ruled margin; all type is Zapf Chancery.
|
||||
- `tools/atlas/assemble.py` builds the sheet markdown: the canon card is read from the vault note (brackets of wikilinks dropped, nothing else changed) and every other card comes from the proposal file's `## Sheet text` section. Canon and proposals stay in separate files, and a proposal cannot enter the canon card.
|
||||
- `tools/atlas/build-sheet.sh <canon note> <proposal file> <out.png|pdf>` copies the skill's two Python scripts into a scratch directory next to our page file and runs them there. The skill is never edited.
|
||||
- Slots are cards: a "Plate: not rendered" and a "Spot: not rendered" card carry the brief from PR #6 in a ruled frame. Their size follows their text, because bloom-sheet sizes a card by its words; a slot is therefore a caption frame, not a picture-sized hole.
|
||||
|
||||
The mapping of hand to people (flowing for Sa'ueia entries, angular for Airawa) remains my guess. Only the flowing hand is built.
|
||||
|
||||
Possible upstream: the style fits bloom-sheet cleanly as a theme option (`--theme`) choosing the page file, plus a marker-in-comments guard and a `--fonts` hook. I have not opened a PR to Eureka; it is Meta's call.
|
||||
|
||||
## Later: Aetheria (kept as a note)
|
||||
|
||||
Meta wants the same Atlas for Aetheria afterwards. The scoping I already did is on draft PR GameCult/AetheriaLore#7 (`docs/atlas/`, with a Pseudospace sample). Facts to carry over: AetheriaLore has a canon/proposal marker (`scripts/check_canon_marker.py`; `kind: canon` needs ruling ids) and no existing page carries `kind:`; its owner of lore questions is Nibu. Zyphos has no such marker.
|
||||
|
||||
## Sample
|
||||
|
||||
`sample-breeding-grounds.proposal.md` (with its `## Sheet text`), built by `tools/atlas/build-sheet.sh` into a bloom-sheet page, from `Eusocial Interbeing/Ecology/Breeding Grounds.md`. The plate and spot cards carry briefs 10 and 11 of PR #6.
|
||||
|
||||
## Open questions for Deru
|
||||
|
||||
1. Is my reading of what is approved canon right (all vault notes except the two flagged ones)? Or is there a list?
|
||||
2. Which git author handles are yours? The vault history shows `Meta Vens` (most pages) and `MadmansLullabyOFFICIAL` (the Sa'ueia/mother-tree rename); the Atlas credits by git and does not guess.
|
||||
3. May the Atlas show the Sa'ueia word `Olune` on the Breeding Grounds page? It is your root, glossed "breeding ground", unanalysed.
|
||||
4. Calligraphy mapped to each people's sound: keep, change or drop?
|
||||
5. Do you want the Atlas published (e.g. on the Zyphos site) or kept as a personal gallery?
|
||||
|
||||
## Build notes (what broke)
|
||||
|
||||
- The skill's page file has marker strings; the script replaces them everywhere, including inside TeX comments, so naming a marker in a comment spliced the whole content into the preamble. Our page file never writes the marker text in a comment.
|
||||
- LuaTeX's fontspec could not load the Zapf Chancery Type 1 file (even with its metrics beside it). The `pzc` family through NFSS works under LuaLaTeX, but has one weight, so strong and soft text are colour only.
|
||||
- The grower is built for flowers: at this density the page reads as a flowered border more than ink vines and foliage. Calmer foliage would need a change in `grow.py` (an upstream option), not in our page file.
|
||||
- Rendering takes about 2.75 minutes on Yggdrasil. The "Vault note at" line shows the branch HEAD of the vault repo when built, not the note's last-change commit.
|
||||
37
notes/atlas/sample-breeding-grounds.proposal.md
Normal file
37
notes/atlas/sample-breeding-grounds.proposal.md
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Atlas entry: Breeding Grounds (PROPOSALS)
|
||||
|
||||
**Not canon.** Elaborations and illustration slots for the Breeding Grounds page. None of this is in the vault. Canon source: `Eusocial Interbeing/Ecology/Breeding Grounds.md` at Zyphos `main` (49207ef); history: created 1c5c14b (Meta Vens, 2026-05-04), renamed 3afb94f (MadmansLullabyOFFICIAL, 2026-07-01), clarified 3700291 (Meta Vens, 2026-09-05). Proposals by Weksa.
|
||||
|
||||
## Elaborations (each extends one canon sentence)
|
||||
|
||||
1. **What a visitor sees on arrival.** Extends: "Most adults visit, then leave again with their family units." Proposal: arrival is marked at the edge of the ground rather than at a gate, since no wall surrounds it; the family unit stops and waits for a caretaker to come out. **Guess:** the custom of waiting is mine. Changes if accepted: adds a courtesy, no new institution.
|
||||
2. **The ground has no tallest thing.** Extends: "These sites support a mobile civilization; they are not cities." Proposal: no structure on the ground is built higher or placed more centrally than the rest, which is how a visitor can tell it from a settlement. **Guess**, supported by the note's warning that a capital breaks the system.
|
||||
3. **Fungal road in.** Extends: the note's "allied organisms". Proposal: a candle fungal road (`Biosphere/Decomposers and Recyclers/Candle Fungal Roads`, which lists breeding grounds among its endpoints) leads in. That link is already canon in the fungal road note; only its use in this picture is proposed.
|
||||
|
||||
## Illustration slots
|
||||
|
||||
- **Plate:** PR #6 brief 10, "A breeding ground, the olune". Canon line: "remain occupied year-round, mainly by infants, infirm adults, caretakers, rotating specialists, and allied organisms." **Sa'ueia bodies are not drawn**: canon gives none (gap 1 in PR #6).
|
||||
- **Spot:** PR #6 brief 11, the route-memory instrument, as the object a family brings when it returns. Source: `Technologies/Sa'ueia Mobile Technologies`; its look is a guess.
|
||||
- **Vignette:** a ring of small rounded shelters of unequal size, none central. Source: elaboration 2 (guess).
|
||||
|
||||
## Questions for Deru
|
||||
|
||||
- Should the page show the word `Olune` (see design note, question 3)?
|
||||
- Is the arrival custom in elaboration 1 acceptable, or too much invention?
|
||||
- Do the grounds carry a mark or sign that distinguishes one from another, or is that left open?
|
||||
|
||||
## Sheet text
|
||||
|
||||
What the sheet shows beside the canon card. Each `###` becomes one card; nothing here may be read as vault text.
|
||||
|
||||
### Proposed, not canon
|
||||
|
||||
A visiting family stops at the edge of the ground and waits for a caretaker to come out. No building is higher or more central than the rest. (Guesses; Deru decides.)
|
||||
|
||||
### Plate: not rendered
|
||||
|
||||
PR #6 brief 10. A sheltered hollow where several low shelters of soft living tissue stand close together; small dim figures carry bundles and tend young ones; a line of amber lights from a fungal road approaches; nothing is taller or more central than the rest, and no wall surrounds it. No Sa'ueia bodies are drawn, because canon gives none.
|
||||
|
||||
### Spot: not rendered
|
||||
|
||||
PR #6 brief 11. A hand-sized travelling instrument of knotted cords and beads on a worn wooden frame, with a small cushion of living moss at its centre.
|
||||
26
tools/atlas/assemble.py
Executable file
26
tools/atlas/assemble.py
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Assemble an Atlas sheet's markdown: canon read from the vault, proposals read from the proposal file.
|
||||
|
||||
assemble.py <canon note .md> <proposal .md> <vault-commit> > sheet.md
|
||||
|
||||
The canon card is the vault note's own paragraphs, unedited except that wikilink brackets are dropped. Every card
|
||||
after it comes from the proposal file's `## Sheet text` section, one card per `###` heading, so canon and proposals
|
||||
stay in separate files and a proposal cannot enter the canon card.
|
||||
"""
|
||||
import re, subprocess, sys
|
||||
from pathlib import Path
|
||||
|
||||
canon, proposal, commit = sys.argv[1:4]
|
||||
note = Path(canon).read_text(encoding="utf8")
|
||||
title, _, body = note.lstrip("").partition("\n")
|
||||
assert title.startswith("# "), f"{canon}: first line is not a title"
|
||||
body = re.sub(r"\[\[(?:[^\]|]*\|)?([^\]]+)\]\]", r"\1", body).strip()
|
||||
authors = subprocess.run(["git", "log", "--format=%an", "--", canon], capture_output=True, text=True, check=True).stdout.splitlines()
|
||||
by = ", ".join(dict.fromkeys(authors))
|
||||
text = Path(proposal).read_text(encoding="utf8")
|
||||
m = re.search(r"^## Sheet text\n(.*?)(?=^## |\Z)", text, re.S | re.M)
|
||||
assert m, f"{proposal}: no `## Sheet text` section"
|
||||
print(f"{title}\n\nVault note at {commit}; text by {by}. Proposals are marked and are not in the vault.\n")
|
||||
print(f"## The note\n\n{body}\n")
|
||||
cards = m.group(1).strip()
|
||||
print(re.sub(r"^### ", "## ", cards[cards.index("### "):], flags=re.M))
|
||||
15
tools/atlas/build-sheet.sh
Executable file
15
tools/atlas/build-sheet.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
# Build one Atlas page with bloom-sheet's plant grower in the calligraphic look.
|
||||
# build-sheet.sh <canon note .md> <proposal .md> <out.pdf|png> [bloom-sheet options]
|
||||
# bloom-sheet is the Eureka skill's tool, run unmodified: its two scripts are copied beside our page.tex in a scratch
|
||||
# directory, so the skill's page.tex (neon) is never used and never edited. Needs the same packages as bloom-sheet.
|
||||
set -euo pipefail
|
||||
canon=$(realpath "$1"); proposal=$(realpath "$2"); out=$(realpath -m "$3"); shift 3
|
||||
here=$(cd "$(dirname "$0")" && pwd)
|
||||
skill=$(dirname "$(readlink -f "$(command -v bloom-sheet)")")
|
||||
commit=$(git -C "$(dirname "$canon")" rev-parse --short HEAD)
|
||||
work=$(mktemp -d); trap 'rm -rf "$work"' EXIT
|
||||
cp "$skill/bloom_sheet.py" "$skill/grow.py" "$work/"
|
||||
cp "$here/calligraphic-page.tex" "$work/page.tex"
|
||||
(cd "$(dirname "$canon")" && python3 "$here/assemble.py" "$canon" "$proposal" "$commit") > "$work/sheet.md"
|
||||
python3 "$work/bloom_sheet.py" "$work/sheet.md" -o "$out" "$@"
|
||||
101
tools/atlas/calligraphic-page.tex
Normal file
101
tools/atlas/calligraphic-page.tex
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
% Calligraphic page for the Zyphos Atlas: bloom-sheet's plant grower, drawn in ink on parchment.
|
||||
% Stands in for the Eureka skill's page.tex (same macros grow.py and bloom_sheet.py call); the skill is not edited.
|
||||
% bloom_sheet.py fills the contents and title markers (never write the marker text in a comment: it is replaced
|
||||
% everywhere); there is no fonts marker, so the fonts below are ours.
|
||||
% Colour names keep the skill's (neon*) because grow.py writes them; here they are inks.
|
||||
\documentclass{article}
|
||||
\usepackage[paperwidth=210mm,paperheight=297mm,margin=0mm]{geometry}
|
||||
\usepackage{fontspec}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{tikz}
|
||||
\usepackage{array}
|
||||
\usepackage[most]{tcolorbox}
|
||||
\tcbuselibrary{fitting}
|
||||
|
||||
% ---------- Inks on parchment ----------
|
||||
\definecolor{ground}{HTML}{F1EADA} % paper; visitor cutouts use it
|
||||
\definecolor{groundtop}{HTML}{F6F0E1}
|
||||
\definecolor{groundfoot}{HTML}{E8DFC8}
|
||||
\definecolor{panelbg}{HTML}{FAF6EA}
|
||||
\definecolor{heading}{HTML}{231C27}
|
||||
\definecolor{body}{HTML}{2B2630}
|
||||
\definecolor{muted}{HTML}{6B6558}
|
||||
\definecolor{neonorange}{HTML}{8C2F39} % oxblood
|
||||
\definecolor{neonsky}{HTML}{3F6B5E} % verdigris
|
||||
\definecolor{neonviolet}{HTML}{3A3F6E} % indigo ink
|
||||
\definecolor{neonrose}{HTML}{A87A32} % ochre
|
||||
\definecolor{neonwhite}{HTML}{C09A3E} % gold leaf (flower centres, buds)
|
||||
\colorlet{accent}{neonorange}
|
||||
|
||||
% ---------- The hand ----------
|
||||
% Zapf Chancery through NFSS (psnfss `pzc`): LuaTeX's fontspec cannot load the Type 1 file directly.
|
||||
% It has one weight, so strong and soft are colour, not weight.
|
||||
\newcommand{\hand}{\fontencoding{T1}\fontfamily{pzc}\fontseries{m}\fontshape{n}\selectfont}
|
||||
\newcommand{\labelfont}{\hand}
|
||||
\newcommand{\thinfont}{\hand}
|
||||
\newcommand{\speakfont}{\hand}
|
||||
\newcommand{\numfont}{\hand}
|
||||
|
||||
% ---------- Ink primitives, called by the generated layer ----------
|
||||
% A flat ink fill with a hairline edge: a pen stroke, no glow. #2 is the percent of ink kept.
|
||||
\newcommand{\neonfill}[3]{\path[fill=#1!#2!black!6, draw=#1!85!black, line width=0.12pt, line join=round] #3;}
|
||||
\newcommand{\neondot}[4]{%
|
||||
\fill[#1!70!white, opacity=0.30] (#2,#3) circle ({1.7*#4});
|
||||
\fill[#1!85!black] (#2,#3) circle (#4);}
|
||||
\newcommand{\petalwash}[2]{\fill[#1, opacity=0.13] #2;}
|
||||
% A ruled frame: parchment panel, a heavy and a hairline rule.
|
||||
\newcommand{\neonframe}[2]{%
|
||||
\fill[panelbg, opacity=0.92] #2;
|
||||
\draw[#1!80!black, line width=0.7pt] #2;
|
||||
\draw[#1!80!black, line width=0.2pt, opacity=0.7] #2;}
|
||||
|
||||
% ---------- Text atoms ----------
|
||||
% Defined in the preamble (a parameter macro inside a panel breaks tcolorbox fit).
|
||||
\newcommand{\head}[1]{{\hand\color{accent}#1}\par\vspace{0.25em}}
|
||||
\newcommand{\sub}[1]{\par\vspace{0.25em}{\hand\color{muted}#1}\par}
|
||||
\DeclareRobustCommand{\code}[1]{\leavevmode{\color{neonsky}#1}}
|
||||
\DeclareRobustCommand{\strong}[1]{\leavevmode{\color{heading}#1}}
|
||||
\DeclareRobustCommand{\soft}[1]{\leavevmode{\color{heading}#1}}
|
||||
\DeclareRobustCommand{\faint}[1]{\leavevmode{\color{muted}#1}}
|
||||
\newcommand{\li}[3]{\par{\leftskip=\dimexpr #1em - 1em\relax\hangindent=1em\hangafter=1\noindent\makebox[1em][l]{\color{accent}#2}#3\par}}
|
||||
\newcommand{\quoted}[1]{\par{\leftskip=0.8em\color{heading}#1\par}}
|
||||
\newcommand{\codeline}[1]{\par{\color{neonsky}\hangindent=1em\hangafter=1\noindent#1\par}}
|
||||
\newcommand{\hairline}{\par\vspace{0.2em}{\color{muted}\rule{\linewidth}{0.2pt}}\par\vspace{0.2em}}
|
||||
\newcommand{\cell}[1]{\raggedright\arraybackslash#1}
|
||||
|
||||
% ---------- One panel (as the skill's) ----------
|
||||
\newcommand{\panel}[6]{%
|
||||
\node[anchor=south west, inner sep=0pt] at (#1mm,#2mm) {%
|
||||
\begin{tcolorbox}[blank, fit, width=#3mm, height=#4mm,
|
||||
left=3.1mm, right=3.1mm, top=3mm, bottom=2.6mm,
|
||||
fontupper=\hand\color{body}\linespread{1.04}\selectfont,
|
||||
before upper={\colorlet{accent}{#5}\parindent0pt\parskip0.14em\raggedright}]
|
||||
#6
|
||||
\end{tcolorbox}};}
|
||||
|
||||
@@CONTENTS@@
|
||||
|
||||
\pagecolor{ground}
|
||||
\pagestyle{empty}
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[remember picture, overlay, x=1mm, y=1mm]
|
||||
\begin{scope}[shift={(current page.south west)}]
|
||||
|
||||
% ---- ground: parchment with a darker foot and foxed corners ----
|
||||
\shade[top color=groundtop, bottom color=groundfoot, middle color=ground] (0,0) rectangle (210,297);
|
||||
\foreach \i in {1,...,24} {
|
||||
\fill[neonrose, opacity=0.0045] (0,297) circle ({70*\i/24});
|
||||
\fill[neonorange, opacity=0.0035] (210,0) circle ({85*\i/24});
|
||||
}
|
||||
% a ruled margin
|
||||
\draw[neonorange!70!black, line width=0.5pt, opacity=0.55] (2.6,2.6) rectangle (207.4,294.4);
|
||||
\draw[neonorange!70!black, line width=0.15pt, opacity=0.55] (3.6,3.6) rectangle (206.4,293.4);
|
||||
|
||||
\input{layer.tex}
|
||||
|
||||
@@TITLE@@
|
||||
|
||||
\end{scope}
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
Loading…
Reference in a new issue