Repository navigation
Fix white screen on iPhone in storm/fog, fill the bottom strip, add puffy clouds - #15
Merged
Merged
Conversation
Up to 2x pixel ratio, 4x MSAA, full-resolution bloom, full water mesh and particle counts on touch devices. Auto-quality never drops below 1x and undoes a step down that doesn't raise the frame rate (30 fps capped screens). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
- Time of day follows the device clock by default; a 1-hour cycle and manual mode can be picked in the panel (choice is remembered) - 360° button: drag to turn and tilt the view, tap again to reset; two-finger twist, right-drag/Shift+drag and Q/E also turn it - Boat height, pitch and roll come from the water surface under its bow, stern and sides, whether still or moving Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
The time of day, sea state, foam, glitter and reef controls now live in an account settings panel opened from a new button right of the speaker (card on desktop, bottom sheet on phones; closes on outside tap, X or Esc). On phones the follow and 360° buttons move to the top left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
…yles - Day deep blues moved to a sea-blue hue; grade pass no longer pushes them violet - Sun (moon at night) path of cartoon glints toward the north-north-east, turns with the 360° view, dimmed by storms and cloud shadows - Water deepens toward the far side of the view; soft shadow under the boat - Storms turn sea and sky grey-green and darker; quieter foam at night - Ocean colour styles in Account settings: Deep Ocean, Tropical, Nordic, Pastel - Night time-of-day button gets an outline so it shows on the dark panel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
Drops the 360° button, look-around drag, two-finger twist, right-drag / Shift+drag and Q/E turning; the camera is back to the fixed north-up tilt. On phones the follow button moves to the top-left corner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
Foam - A few big cartoon patches with clean outlines that form, drift downwind and dissolve into lace, replacing the thin squiggles - Crest caps that ride the swell the boat bobs on and slide off the back - Boat wake and ripples glow cyan-blue at night Weather (Account settings) - Clear / Cloudy / Rain / Storm / Fog presets; Sea state, Foam and new Clouds sliders fine-tune on top (switches to a Custom fixed weather) - Modes: Changing (default, drifts every few minutes, dawn fog in real time), Near me (Open-Meteo, location rounded to ~1 km, falls back to Changing), Fixed; remembered - Rain streaks, rings on the water and rain sound; lightning with thunder; fog; overcast hides sun glitter and flattens colours - Rainbow after rain, bow spray in rough water, one wind direction for waves/foam, smoke and wind streaks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
The far-side sky reflection was ~1 across the whole view (its distance scale no longer matched the camera), blending ~35% pale sky colour over the entire sea at every time of day. It now only touches the top of the screen, measured in camera heights. Water exposure brought back down to the palette colours, and the automatic dawn fog is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
- Tugboat scaled up ~20% and widened (beam ×1.3, height ×1.1) for a chunky cartoon look; wake, shadow, wave sample points and spray follow the size - Wave-following heave, pitch and roll exaggerated (more in a storm, capped so it never tips over), plus its own swell rocking and a small shudder from the engine and storm chop Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
- Rain: varied, motion-blurred, grey-white streaks falling in sheets that sweep across; water darker and pitted under them with rings of varied sizes; mist reduces visibility - Storm: lightning in 2-4 strokes lighting the sea most under the strike, near strikes crack, distant ones glow with a late rumble; thunder rolls; foam blown into broken streaks along the wind - Fog: patchy banks drifting with the wind; sun glows through instead of glittering - Clouds: soft-edged two-layer shadows; overcast clearly dull and grey - Rainbow: smooth spectrum, faint secondary bow, darker band between; only with sun and no rain or fog - Stylised wind lines fade out in rain and fog Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
Each strike draws a jagged, forked bolt (camera-facing ribbons: white-hot core in a blue glow, bright enough to bloom) from high in the storm down to the water. It keeps its channel for every return stroke and follows the flash. Close strikes land in view (scaled to the screen width, never on the boat) with rings and a spray burst at the hit; distant ones strike far off. The global flash is toned down so the bolt and the lit water under it stand out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
…, a boat that reacts Boat - Headwind slows it, tailwind lets it surf; drifts downwind in strong wind - Windows light up and a searchlight sweeps the water in storms and fog; foghorn in fog (now and then, and on the horn key) - Close lightning: heels over, rocks hard, lights flicker; calms faster when steered away from the strike Colour by time of day - Rain, rings and spray tinted (pink-gold dawn ... moonlit blue night) - Lightning colour and the lit patch of sea follow the time - Fog tinted, with a soft sun disc in fog and a moon halo at night - Night rain rings sparkle cyan; night lightning makes glows flare Moments - Sunbeams through cloud gaps (sunset light breaking into storms); sail into one for a gold glow and chime; the sun breaks through after a shower - Rainbow anchored in the world: sail under it for sparkles and a chime; moonbow on some clear nights after rain - Rare waterspout in thunderstorms; rare hail bursts with a rattle Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
…uffy clouds - iPhone GPUs return NaN for pow() of a slightly negative number; the searchlight cone (on in storm and fog) could hit that at its far end and the bloom pass spread the NaN over the whole frame, which showed white. All pow() bases are now non-negative and the water output is clamped. - The sea canvas now fills the full screen height (100lvh), including the strip behind the browser toolbar / home indicator; the page background follows the sea colour as a fallback. - Thick puffy cartoon clouds between camera and sea in cloudy weather, with shadows straight below; dark and low in a storm with lightning coming out of them; hidden by fog; see-through over the boat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SV6qyhbhEezk5F7HUwJ52E
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dhaval-prog
pushed a commit
that referenced
this pull request
Nov 27, 2026
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.
Summary
pow()of a slightly negative number. The searchlight cone, which is only on in storm and fog, could hit that at its far end, and the bloom pass spread the NaN over the whole frame, which showed white. Allpow()bases are now non-negative and the water output is clamped.100lvh), including the strip behind Safari's toolbar and home indicator. The page background follows the sea colour as a fallback.Testing
vite buildpasses.Generated by Claude Code