Skip to content
Skip to content
Pixel art sunset beach with sandcastles and waves

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.

0 standingยท0 claimed by the seaยทโ†“ tide falling

tap or click anywhere to build a sandcastle

How to Play

๐Ÿ–๏ธ Build a Castle Click dry sand to place a castle. Closer to the waterline means faster erosion โ€” risky spots are more fun.
๐ŸŒŠ Watch the Tide The tide rises and falls on its own ~15-second cycle. Watch the indicator to time your builds.
๐Ÿฐ Erosion Blocks under the waterline erode first. Towers collapse when their base disappears โ€” tall and thin falls fastest.
๐ŸŽจ Themes & Speed Four themes (Tropical, Sunset, Arctic, Night) and three speeds โ€” Calm, Normal, Surge. Share copies a link with your exact settings.

Pick your beach

tap to load it above

Add &speed=calm, normal, or surge to any link to set the tide pace.

Why the tide moves

moon-physics, plain English

The 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.

SUN EARTH MOON PULL ADDS UP
Spring Tide ~7 days

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.

SUN EARTH MOON PULLS CANCEL
Neap Tide ~7 days later

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

+0:00 High Tide Water at its highest. Beach narrowest. Surf hits the seawall.
+6:12 Low Tide Water at its lowest. Tide pools open up. Furthest the sand goes.
+12:25 High Again Second high. About 25 min later than yesterday โ€” moon orbits forward.
+18:37 Low Again Second low. Two highs and two lows fit inside ~25 hours.

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.