OhMyGame
OhMyGame is the open-source studio for making games with AI. Design, build, playtest, and publish games in one app, with your own model keys.
First-person procedural planet wilderness explorer
Translation pending
GamesTypeScript · HTMLGitHub @bhudiaxyzOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A first-person explorer for a procedurally generated polygonal world, aiming for a balance of realism and abstraction. The goal is a living, believable planet you can walk, fly and drift across — terrain that reads as geology, weather that shifts, rivers that follow valleys, plants that cluster where the conditions suit them — without the fidelity cost of photorealism. Everything is generated at runtime from a single seed: terrain, plants, sky, weather, water and rivers, all computed on the GPU. Choose from 13 Solar System colour palettes to set the world's look and feel. Rivers trace valleys from high ground to sea, tapering into headwater streams — some branch into tributaries, some meander across the landscape, some pool into lakes. A startup scan identifies up to 30 terrain beauty spots (beach, canyon, island, mountain peak and more) and 24 procedural landmarks, all surfaced as one-tap teleports in a persistent Locations panel. Named rivers appear there too. Worlds are identified by a pronounceable seed word in the URL (e.g. ?seed=KaliSeron). Quality adapts automatically to the device GPU across three tiers — high, medium and low — and adjusts dynamically at runtime.
Inspired by Beyond Fable and threejs-procedural-planets.
npm install
npm run dev # development server
npm run build # type-check + production bundle
Desktop / laptop: click to capture the mouse · WASD move · Shift sprint · Space jump / ascend · C descend · F cycle walk → drone → fly · L land · Q/E roll (fly) · M map · G toggle panels · Esc release mouse / close map
Mobile / tablet: left thumb joystick · right-side drag to look · ↑ ascend · ↓ descend · ⟲⟳ roll (fly only) · ⚡ sprint · ✈ cycle walk → drone → fly · 🛬 land · 🗺️ map · ☰ toggle panels
Works on desktop, laptop, mobile (Android / iOS) and tablet. Supports devices up to ~7 years old via GPU-tier detection.
| Area | Directory / file | Role |
|---|---|---|
| Entry | main.ts | Wires everything; runs the startup sequence and frame loop. |
| Core utilities | core/ | Config constants, noise, palette, seed utilities, geometry math. |
| GPU tier | render/gputier.ts | Probes GPU before renderer creation; assigns high / medium / low tier. |
| Rendering | render/ | Shared uniforms and shaders (fx), GPU bake helpers (bake), terrain material (terrain), post-processing chain (postfx, aerialfx), sun/moon shadows (shadows), tree material (treemat). |
| Planet | world/planet.ts, world/chunks.ts | Coarse planet mesh with cube-map surface; streamed high-detail terrain chunks. |
| Sky & atmosphere | world/sky.ts, world/skyfx.ts, world/night.ts, world/precip.ts | Sun/moon/weather state, cloud shell, aurora/fireflies/bioluminescence, GPU rain/snow. |
| Rivers & lakes | world/river.ts | Valley-tracing paths, meanders, tributaries, lakes; single animated water shader. |
| Trees | world/forest.ts, world/trees.ts, world/treeutil.ts, world/geoutil.ts | Clustered placement, three LOD levels, per-tree hue and shape variation. |
| Ground cover | world/plants.ts, world/vegetation.ts, world/plantgeo.ts, world/rockgeo.ts | 15 plant kinds with biome-specific placement gates. |
| Landmarks | world/landmarks.ts | 8 procedural landmark types placed at startup. |
| Player | player/player.ts, player/touch.ts, world/collision.ts, world/footprints.ts | Walk / drone / fly controller; collision; snow footprints; virtual joystick. |
| Locations | world/spots.ts | Terrain beauty-spot scanner; results populate the Locations panel. |
| UI | ui/gui.ts, ui/map.ts | lil-gui settings + Locations panel; fullscreen equirectangular planet map. |