Remove constellation artwork, keep line traces only
Drops the 12 zodiac PNGs, their loader/similarity-transform renderer and the art anchors in constellations.js; build_constellations.py no longer emits art data. Constellation mode now shows just the Stellarium traces, labels and stars. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HtPHsTnDcLVSCiF5FGHZj
This commit is contained in:
parent
f5e1949c91
commit
e31a675ebe
17 changed files with 4 additions and 168 deletions
|
|
@ -93,27 +93,12 @@ def main() -> None:
|
|||
if missing:
|
||||
raise RuntimeError(f"{ident}: HIP ausente no catálogo: {missing}")
|
||||
lines.append([stars[hip] for hip in hip_line])
|
||||
image = constellation.get("image")
|
||||
art = None
|
||||
if image:
|
||||
anchors = []
|
||||
for anchor in image["anchors"]:
|
||||
hip = int(anchor["hip"])
|
||||
if hip not in stars:
|
||||
raise RuntimeError(f"{ident}: âncora HIP ausente: {hip}")
|
||||
anchors.append({"pos": anchor["pos"], "sky": stars[hip]})
|
||||
art = {
|
||||
"file": "constellation-art/" + Path(image["file"]).name,
|
||||
"size": image["size"],
|
||||
"anchors": anchors,
|
||||
}
|
||||
merged[ident] = {
|
||||
"id": ident,
|
||||
"name": ZODIAC[ident],
|
||||
"rank": 1 if ident in {"Ari", "Tau", "Gem", "Leo", "Vir", "Sco", "Sgr"} else 2,
|
||||
"label": metadata.get(ident, {}).get("label"),
|
||||
"lines": lines,
|
||||
"art": art,
|
||||
}
|
||||
|
||||
payload = json.dumps(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue