Full moon and new moon. Sun and moon line up, their pulls stack, and the high tides go 20โ30% higher than average โ lows go correspondingly lower. Nothing to do with the season.
Pixel Tide
a day at the beach from the comfort of your home
A pixel beach that runs on its own. Click anywhere on the sand to place a sandcastle โ the tide will slowly creep in and wash it away. Four themes, seagulls, tide physics. No score, no goal, no winning. Just waves.
tap or click anywhere to build a sandcastle
How to Play
Pick your beach
tap to load it aboveBright midday sun. Crystal water, pale sand, the noisiest seagulls of the bunch.
Open this beach โGolden hour. Warm waves and long shadows pulling everything sideways.
Open this beach โCold-water coast. Pale sand, blue-grey tide, castles that look carved from ice.
Open this beach โMoonlit shore. Quiet, slow, and the foam catches starlight on its way out.
Open this beach โAdd &speed=calm, normal, or surge to any link to set the tide pace.
Why the tide moves
moon-physics, plain EnglishThe ocean has two bulges at all times โ one on the side facing the moon, one on the side facing away. Earth spins through both of them every 24 hours, so any given beach passes a high tide roughly every 12 hours and 25 minutes. The sun does the same thing, weaker, and when the two line up or fight each other you get the biggest and smallest tides of the month.
First and third quarter moons. Sun and moon pull at right angles and partially cancel out โ highs are 10โ15% lower, lows higher. The whole tidal range squashes flat.
A day at the beach, by the clock
Some coasts skip a beat โ the Gulf of Mexico gets one tide a day, the South China Sea gets a mix. Local geography (basin shape, ocean depth, coastline angle) decides which of the moon's beats actually reach a given shore. Pixel Tide skips all of that and just runs one clean sine wave.
Behind the Waves
Tide physics
The waterline is calculated per column using three overlapping sine waves โ a slow ~15s surge, a medium lateral sweep, and a fast surface ripple. Each column gets a slightly different phase, so the water bends and curves across the beach rather than moving as a flat wall.
Castle erosion
Each block under the waterline accumulates erosion damage over time. Once a block crumbles, any blocks above it with no lateral support collapse โ tall thin towers fall faster than wide bases. Debris becomes particles that drift upward and fade.
Color & themes
Each theme defines five color palettes: dry sand, wet sand, shallow water, deep water, and castle stone. A slow hue-shift cycle (ยฑ10ยฐ) animates the water over time without touching the sand โ the ocean feels alive while the beach stays still.
Seagulls
Four seagulls wander the canvas. Each tracks the tide line in its column and lerps its position to stay above the water. They switch between a flying W-shape silhouette and a walking stance with alternating feet depending on whether they're moving or standing still.