All work

Worlds

Whole game worlds from a seed and a few sliders

Worlds with a generated continent map: blue sea, green land, rivers, snowy mountains and sandy areas, beside a panel of sliders for land, climate, water and underground

The problem

A game set outdoors needs a large world before anything else can be built: land and sea, mountains, rivers, climate zones and what lies underground. Hand-making that takes weeks, and generic noise tools give terrain that doesn't hang together.

Game makers inside StellusOS also needed one shared way to describe a world, so the same world could move between the editor and the games that use it.

What I built

  1. Part of StellusOS: a world is a small recipe (a seed plus settings for land, relief, mountains, hills, warmth, moisture, biome size, rivers, caves, tunnels, ores, trees, rocks and plants), saved as a record.
  2. The same world-generation engine that the games use draws the map, so what you see in Worlds is what a game gets.
  3. The map is worked out in a background worker, so the sliders stay responsive while it redraws.
  4. Three views on one recipe: a coloured map with a legend, a slice that cuts the ground open at any depth to show caves and ores, and a 3D fly-over.
  5. 'Save to game' writes the recipe and terrain textures into a chosen game. The textures were made on the computer with StellusOS's own image generator under open model licences; nothing was downloaded.

What it does

Built with Vanilla JavaScript (ES modules, no build step), Web Workers, three.js, Shared world-generation engine, socket.io, 2026.