Dev.to WebDev 🛠 Dev 👁 0 📖 1 min read

I built a real-time soap-bubble wish wall in vanilla JS + Cloudflare Workers & D1

I wanted a quiet, playful corner of the internet where strangers around the world could leave one wish a day — without accounts, feeds, or algorithms. So I built Wish Bubble: https://wishbubble.fun How it work

I wanted a quiet, playful corner of the internet where strangers around the world could leave one wish a day — without accounts, feeds, or algorithms.

So I built Wish Bubble: https://wishbubble.fun

How it works

  • 1 wish per day (max 60 characters), blown into the night sky as a translucent soap bubble.
  • No auto-translation: every wish stays in the visitor's original language so you can see where around the world people are visiting from.
  • Physics & growth: clicking any bubble gives it likes (with exponential tap effort per bubble per day). Bubbles grow smoothly with likes and gently push neighbors away with inertia and zero overlap.
  • Permanent wish wall: once a bubble reaches the threshold (10 likes for the first 10 engraved tiles, then climbing quadratically), it pops into particles and gets permanently engraved onto the background wall sorted by likes.

Stack

  • Zero frontend frameworks: pure vanilla HTML/CSS/JS with a delta-time 2D collision loop (smooth on 60Hz–240Hz displays), mobile 100dvh safe-area layout, and GPU-composited expansion.
  • Cloudflare Workers + D1 SQLite + Workers Static Assets: single edge deployment handling state sync, daily rate limits, content moderation, and static delivery.

The wall just started from zero — the first 10 engraved spots only take 10 likes. Drop a wish in your native language and let me know what you think!

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.