Chart wheel: readable aspect lines
CI / test (push) Successful in 38s
CI / build (push) Successful in 3m48s
CI / deploy (push) Skipped

- only the major aspects between the ten planets, ASC and MC (the rest
  stays in the aspect table)
- one style per aspect: trine blue, sextile blue dashed, square orange,
  opposition red; width and opacity by orb, tight aspects on top
- line ends at the spread-out glyph angles, so neighbouring planets'
  lines no longer meet in one point
- hovering or focusing a planet shows only its aspects (CSS :has)
- shared legend, also on the example page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-17 06:17:02 +00:00
co-authored by Claude Opus 5.5
parent a937b6f0ff
commit 85337f2c79
4 changed files with 84 additions and 28 deletions
@@ -5,7 +5,7 @@ import { notFound } from "next/navigation";
import { BigThree, ChartTables } from "@/components/ChartTables";
import { ChartSummary } from "@/components/ChartSummary";
import { DetailedAnalysis } from "@/components/DetailedAnalysis";
import { ChartWheel } from "@/components/ChartWheel";
import { ChartWheel, WheelLegend } from "@/components/ChartWheel";
import { ELEMENTS, MODALITIES, MOON_PHASES, countryName, formatBirthDate, pointName } from "@/lib/astro";
import { backendGet, requireMe } from "@/lib/server";
import type { Analysis, Chart } from "@/lib/types";
@@ -59,10 +59,7 @@ export default async function ChartPage({ params }: { params: Promise<{ id: stri
<section className="chart-layout" aria-label="Képletrajz">
<div className="card chart-wheel-card">
<ChartWheel chart={result} timeKnown={timeKnown} />
<p className="hint wheel-legend">
<span className="legend-line legend-harmonic" aria-hidden="true" /> harmonikus (trigon, szextil)
<span className="legend-line legend-tense" aria-hidden="true" /> feszült (kvadrát, szembenállás)
</p>
<WheelLegend />
</div>
<div className="field" style={{ gap: 16 }}>
<ChartSummary chartId={chart.id} initial={summary} />