diff --git a/CLAUDE.md b/CLAUDE.md index 48d7e47..4f3bd45 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -33,9 +33,6 @@ plugin/ contents/ui/ main.qml # Plasma WallpaperItem — hosts everything dancer.html # Self-contained animation (HTML + CSS + JS) - starcatalog.js # Generated star data (Yale BSC) — see tools/build_catalog.py -tools/ - build_catalog.py # Regenerates starcatalog.js from the Yale Bright Star Catalog ``` ### main.qml — the Plasma host @@ -50,7 +47,7 @@ Pure HTML/CSS/JS, no external dependencies. All visuals are self-contained: | Layer | Technique | |---|---| -| Realistic sky (stars + Milky Way) | ``; real-time alt-az projection of `starcatalog.js` (2,887 Yale BSC stars) + seeded procedural Milky Way for the configured lat/long (default Toledo-PR). Static layer pre-rendered offscreen, bright stars twinkle per frame; reprojects every 30 s. Debug: `window.__skyTimeOffset` (ms) fast-forwards the sky | +| Starfield | `` + `requestAnimationFrame` | | Nebula blobs, grid floor, horizon | CSS animations | | DANCEBOT-9000 robot | Pure CSS (divs + `@keyframes`) | | Chest EQ bars & VU meter | JS-driven `requestAnimationFrame` | diff --git a/plugin/contents/config/main.xml b/plugin/contents/config/main.xml index 58bb539..bc52416 100644 --- a/plugin/contents/config/main.xml +++ b/plugin/contents/config/main.xml @@ -14,11 +14,5 @@ false - - -24.72 - - - -53.74 - diff --git a/plugin/contents/ui/config.qml b/plugin/contents/ui/config.qml index cc054f0..54e83e0 100644 --- a/plugin/contents/ui/config.qml +++ b/plugin/contents/ui/config.qml @@ -9,8 +9,6 @@ ColumnLayout { property alias cfg_ShowSkeleton: skeletonCheck.checked property alias cfg_BaladaMode: baladaCheck.checked property alias cfg_ChuvaMode: chuvaCheck.checked - property double cfg_Latitude - property double cfg_Longitude spacing: Kirigami.Units.largeSpacing @@ -36,28 +34,5 @@ ColumnLayout { text: i18n("Lua + chuva + relâmpagos") onCheckedChanged: if (checked) baladaCheck.checked = false } - - Kirigami.Separator { Kirigami.FormData.isSection: true } - - // Observador do céu realista (aceita vírgula ou ponto decimal) - TextField { - id: latField - Kirigami.FormData.label: i18n("Latitude:") - Component.onCompleted: text = root.cfg_Latitude - onTextChanged: { - const v = parseFloat(text.replace(",", ".")) - if (!isNaN(v) && v >= -90 && v <= 90) root.cfg_Latitude = v - } - } - - TextField { - id: lonField - Kirigami.FormData.label: i18n("Longitude:") - Component.onCompleted: text = root.cfg_Longitude - onTextChanged: { - const v = parseFloat(text.replace(",", ".")) - if (!isNaN(v) && v >= -180 && v <= 180) root.cfg_Longitude = v - } - } } } diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index ed8919e..16caced 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -164,7 +164,7 @@ body.balada .nebula::after { opacity: 1; } .album-art { position: absolute; top: 4%; - left: 2%; + right: 2%; width: 330px; height: 330px; border-radius: 6px; @@ -254,7 +254,7 @@ body.balada .music-ticker { ============================================================ */ .lyric-display { position: absolute; - right: 2%; + left: 2%; top: 4%; width: 38%; height: 150px; @@ -273,7 +273,6 @@ body.balada .music-ticker { .lyric-ctx { display: block; width: 100%; - text-align: right; /* letra ancorada à direita da tela */ font-family: 'Courier New', monospace; letter-spacing: 0.02em; white-space: normal; @@ -1199,7 +1198,6 @@ body.chuva #sunChuvaFace { opacity: 1; transition: opacity 5s ease; } -