Repository navigation
季節を象徴するモチーフを背景に添える - #85
Merged
Merged
Conversation
背景の描画処理に季節を受け取る処理がなく、どの季節かを一目で判断できる モチーフがなかった。冬の雪も、実際に雪が降ったときだけ描かれていた。 - 電柱のあいだに街路樹を立てる。春は桜、夏は青葉、秋は紅葉が茂り、冬は 葉を落とした枝に夜だけイルミネーションを灯す。季節が移るあいだは葉を まばらにし、紅葉は色を保ったまま散る - 春は桜の花びらを舞わせ、水平線を春霞でかすませる - 夏は道路に日差しを照り返させ、5日に1度の夜は対岸に小さな花火を上げる - 秋は昼に赤とんぼを飛ばし、夜は海に落ちる月明かりを強める - 冬は朝に霜を降らせ、澄んだ空気で対岸の街をくっきり見せる - 動くものは数を抑え、「視差効果を減らす」が有効なときは止めた一枚にする Refs #69 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ATcUWKWDs87zwTrKyiKpY4
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
桜・入道雲・紅葉・イルミネーションなど、季節を象徴するモチーフを背景に小さく添えます。
Closes #69
原因
SkyBackground.swiftの描画処理(海、船、電柱、街灯、雲、星、流れ星、天気、道路、バス停など)に、季節を受け取る処理がありませんでした。SkyPaletteの空の色の計算でしか使われていませんでした。変更内容
SeasonalMotifsに、配色(日付・時刻・空の暗さ)からモチーフの出し方を決める規則をまとめました。隣り合う季節のあいだは、それぞれの季節の割合(#70のSeasonBlend)に応じて少しずつ現れ、消えていきます。SkyPaletteで作り、地上のものと同じく夜は沈ませます。季節が移るあいだは葉の粒をまばらにして、芽吹きや散り際を表します。紅葉は冬へ移るあいだも色を保ったまま散ります。確認
seasonalMotifsAppearInTheirSeason: 各モチーフが、その季節とその時間帯だけに現れる(夜は花びらや赤とんぼを出さない、冬の霜は朝だけ、イルミネーションは冬の夜だけ)summerFireworksRiseOnlyOnSomeNights: 夏の花火は5日に1度、日没後から21:30までだけ。冬は上がらないstreetTreeChangesThroughTheYear: 桜・青葉・紅葉と移り、冬は葉を落とす。11月末は紅葉の色のまま半分ほど散っているBusTimeWidgetExtensionを警告をエラーにした設定でビルドpython3 Scripts/generate_l10n.py --checkImageRendererで書き出して目視確認(桜・青葉・紅葉・冬の枝とイルミネーション、赤とんぼ、花びら)既知の失敗(この変更とは無関係)
weekendKeepsTheNoticeAndStillShowsWeekdayTimesはmainでも失敗しています。関連
🤖 Generated with Claude Code
https://claude.ai/code/session_01ATcUWKWDs87zwTrKyiKpY4