A small real-time web project

Spinworld

A spinner, a country leaderboard, and a reason to try again.

Spinworld is a browser challenge where people spin for their country. I built it to bring together a simple interaction, live totals, and a country leaderboard without making the interface complicated.

Spinworld interface
The Spinworld website.

Keeping a small idea focused

The main screen has one job: make spinning feel responsive and show where those spins go. React handles the interface, CSS animates the spinner, and Web Audio and canvas-confetti provide sound and milestone feedback. Sound preferences and personal totals are saved locally.

Live totals without a custom server

The client connects to Firebase Firestore. Snapshot listeners update global totals and country rankings as the stored data changes. That keeps the implementation small, although client-connected data still needs database rules and careful write behavior.

Country detection is a suggestion

IP geolocation suggests a country, with fallback providers and cached results. It is not a precise location measurement. A manual country selector lets someone correct the suggestion or continue when a lookup fails.

How the pieces fit

  1. 01

    Next.js + React interface

  2. 02

    Firestore snapshot listeners

  3. 03

    IP country suggestion + manual choice

  4. 04

    CSS animation + Web Audio

Where it stands

Spinworld is live as a personal project. It is a smaller example of my frontend work, with attention to interaction feedback, live state, and fallback behavior.

Have something in mind?

Tell me what you’re building, where things stand, and what you need help with.

Let’s talk