mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-07 15:09:30 +00:00
At dawn, dusk and night the environment shows the moon in the top-left corner of the scene, behind the plan: computed in the card from the home coordinates and the browser clock (short Meeus series + topocentric parallax, within 1.4° / 1.8 pp of JPL Horizons), one designer image under a continuous phase mask with the lit side always on the left (owner 2026-09-29), a feathered terminator, 3°/3 % thresholds and the 2 s fade of the window rays. Everything but a small gate lives in the lazy moon-runtime chunk, with its own 30 s ticker. General settings: "Sun" becomes "Sun and Moon" with one switch, on for new installations (DEFAULT_CONFIG), off for existing ones. The initial View graph sat 728 B under its budget: the gate is paid for by moving fifteen dialog-only strings of General settings into the lazy settings dictionary (#459) and by one build fingerprint literal instead of three, so the graph ends 4 B above dev. Golden: two new moon scenes, and the two General settings help frames show «Sun and Moon»; the WSL artifact test fixture now models scenes whose first capture awaits acceptance. Issue: #661 User-Visible: yes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018qZfe7YS4rqEMKoVeS3GKd
39 lines
1.8 KiB
JSON
39 lines
1.8 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"pack_id": "houseplan",
|
|
"pack_version": "1.0.0",
|
|
"title_ru": "Луна: полный диск для маски фазы",
|
|
"title_en": "Moon: full disc for the phase mask",
|
|
"author": "JB (justbusiness)",
|
|
"license": "MIT",
|
|
"source_url": "https://www.figma.com/design/cpGN8MhJGydwVOUzZv8dia/House-plan",
|
|
"issue": 661,
|
|
"file": "moon.svg",
|
|
"view_box": [
|
|
0,
|
|
0,
|
|
512,
|
|
512
|
|
],
|
|
"disc": {
|
|
"cx": 256,
|
|
"cy": 256,
|
|
"r": 240
|
|
},
|
|
"lit": "front",
|
|
"north_up": true,
|
|
"east_right": true,
|
|
"notes_en": "Full moon, front-lit, no terminator, no shadow, no glow outside the disc; thin dark outline for light backgrounds. Art by JB (Figma export normalised: viewBox 512, blend modes removed, rings thinned). Phase mask and the 8 % dark side are applied by the card (C5). The art is never mirrored; the lit side is always the left one, waning runs the same states backwards (owner 2026-09-29).",
|
|
"notes_ru": "Полная луна, освещение в лоб, без терминатора, тени и ореола; тонкая тёмная обводка для светлого фона. Арт JB (экспорт из Figma нормализован: viewBox 512, без blend-режимов, кольца морей прорежены). Маску фазы и тёмную сторону 8 % накладывает карточка (C5). Арт не зеркалится; освещённая сторона всегда слева, убывание идёт теми же состояниями в обратном порядке (владелец 29.09).",
|
|
"mirror": false,
|
|
"outline": {
|
|
"color": "#2b3138",
|
|
"opacity": 0.5,
|
|
"from_r": 0.905,
|
|
"to_r": 0.92,
|
|
"fade_to_r": 0.935,
|
|
"note": "part of the edge gradient, no separate stroke"
|
|
},
|
|
"lit_side": "left"
|
|
}
|