Skip to content
All projects

Personal project · Interactive 3D

ORBIT

An explorable 3D solar system built from scratch, with real planetary data, free camera and saved progress.

Status
Personal projectPlayable exploration; the full game is the next development phase.
My role
Concept, design and full stack development
ORBIT — 3D solar system scene with planets and orbits

Context

ORBIT started as a way to show more than websites: a real-time 3D experience that combines rendering, interaction, maths and data in a single product.

The technical problem

Rendering a navigable solar system in the browser that stays smooth, keeps the camera under control when flying to moving planets, and works as a client-only scene inside a statically generated Next.js site.

The solution

A React Three Fiber scene loaded client-side with dynamic import, orbit animation driven per frame, a camera rig that eases towards the selected body, a HUD with mission controls, and optional accounts with saved progress in Supabase.

Architecture & logic

  • Scene loaded with next/dynamic and ssr: false so the rest of the site stays static
  • Planet positions computed every frame; the camera rig follows the live position of the selected planet
  • Supabase Auth + a profiles table protected by Row Level Security for XP and discovered planets
  • Ambient audio synthesised with the Web Audio API — no audio files

What I built

  • Free camera: drag to orbit, scroll to zoom, click a planet to fly to it
  • Real data for every planet: distance, gravity, temperature and day length
  • Mission Control panel: simulation speed, orbits, labels and audio
  • Hidden signal that leads to a black hole

How it was verified

  • Canvas sizing verified against the viewport on desktop and mobile
  • Row Level Security policies tested: anonymous users cannot read or write profiles