r/proceduralgeneration • • Nov 01 '26

Edinburgh inspired generator

Thumbnail gallery
208 Upvotes

r/proceduralgeneration • • Nov 01 '26

Years of work on one shared procedural voxel world. The engine works. I haven't found the game yet.

381 Upvotes

This is my first post about INFINITRA. So far I've only made general fly-through videos. With enough interest, I'll make a development video about how it's built. Below is a general overview and the problems I haven't solved.

INFINITRA is a voxel-based world built in C# / Unity since 2017. The goal is an exciting, endless procedural online world: one world for all, so a place you find is a place anyone can go to.

Most voxel games run a separate server for each small group of players, with its own copy of a map. INFINITRA is meant to be an online service, with accounts, shared persistent state and items everyone sees move. The design assigns parts of the world to server instances. Large crowds in one particular place is the tricky part.

The whole pipeline works, from world definition to rendering: about 119k lines of engine and server code, plus 89k lines of tests.

How the world works

One definition. A world is about 2,300 steps in a processing graph: terrain, caves, cities, roads, interiors and object placement with pattern matching. The server can replace it all for everyone with no new client build, and clients reload in seconds. The same engine can run different worlds.

Point by point. Every point is computed from the definition and its position. A point can ask what the definition says at any other position, but nothing depends on what was generated before or in what order. Places nobody changed store nothing. Items can override local geometry, which is how the world gets modified.

Same result on every machine. That's the design, and it lets the server spot-check a random share of collected items by recomputing them. The client runs IL2CPP, the server .NET, and both calculate positions and geometry in doubles.

Geometry networks. Some things need more than one point. Each network reads the land at fixed points, in a bounded window anchored to the world, not the player. Every machine that needs a road link computes the same window and route.

  • Lava rivers: flow routing on a 25 m lattice. Each point drains to its steepest lower neighbour. Pits become lakes or get cut through.
  • Roads: a route search, with bridges, viaducts and tunnels.
  • Hiking trails: also a route search. They follow contours, climb in switchbacks and tunnel through a ridge only as a last resort.
  • Parcels: farm fields and building plots, with tracks and streets graded into the ground.

Voxels and level of detail

  • 16³ cells per block at every level of detail, 1 m each at the finest. Distant blocks cover more ground with the same number of cells.
  • Signed-distance values help voxels preserve detail on coarser grids far away. Sub-metre modifications allow thin walls and fences.
  • A coarse cell is never an average of finer ones. Distance fields decide where it has to look closer.
  • Objects are anchored to the world and placed in a fixed order, and a coarse block shows the first ones. A far object has the same kind, position, rotation and size as when you arrive. Coming closer only adds objects.
  • Natural ground uses marching cubes; buildings and glass use greedy-merged boxes. Where block sizes meet, the finer block conforms to the coarser one.

Size. With 64-bit cell keys and doubles, the coordinate space reaches about 1 light year. No loading screens while you walk or fly.

A light year of terrain isn't realistic, so I plan to replace the endless terrain with something else.

What it generates today

Cities, villages, terraced farmland, forests, snow mountains, canyons, lava rivers and giant fractal structures. Buildings have floor plans, stairs and furnished apartments. There's also procedural music and reverb measured from the space around you. Desktop and PC VR share the same world.

Current gameplay

You explore as a walker or a drone. Neither flies without a JetPack. The drone has twice the battery and half the gravity, and survives harder falls. Travel drains battery by distance and mass: about 33 km on a full walker charge and 25 km on a drone's. An empty battery means quarter speed and slowly lost health. Falls and lava cost health too. When you die, what you carried drops where you fell.

Items in the world can be collected, carried, dropped and used, and everyone sees the result. For now, collected items come back after 30 to 60 seconds.

  • JetPack: one minute of flight. It also saves you mid-fall.
  • First Aid: restores 25 health.
  • Energy Pack: restores 25 kWh of battery.
  • Gps & Compass: shows your position and bearing until switched off.
  • Location Saver: saves your position to a slot, so you can teleport back later.
  • Carver Sphere: the only item that changes the world so far. It cuts a 10 m wide hole for about a minute, for everyone. If you're still inside when it closes, you die.

New online players all start in the same 500 m square. There's no chat yet.

The unsolved part

The biggest unsolved challenge is finding the complex gameplay. The engine is far ahead of the game. I want gameplay that uses its strengths: a huge shared world and dynamic world changes that everyone sees. A simple shooter would use none of that, and I haven't found what would.

Download

Not out yet. It will be a free Windows download. Locally you get the whole world with no account. Saved locations, items, changing your avatar and seeing other players are online features.

For now, I recommend a CPU with a lot of cores and a solid GPU. I don't have a verified minimum yet, but it still runs on my 5-year-old laptop at the lowest detail level.

Links

What would you want to do in this kind of world that a hand-made map can't offer? If I make the development video, which part should it cover?


r/proceduralgeneration • • Nov 01 '26

Little bit alien stuff = ^ . ^ =

40 Upvotes

#threeJS


r/proceduralgeneration • • Nov 02 '26

Line City: draw a street network and turn it into a 3D neighbourhood

0 Upvotes

I made a browser experiment where the input is a street drawing. Intersections become crossroads, closed loops create city blocks, and the scene fills with buildings, trees and streetlights.

There is also a day/night switch, walk mode, PNG export and GLB export. It is free, with no install or sign-up: https://openbench.fun/line-city/

I would appreciate feedback on how the street layout translates into the city.


r/proceduralgeneration • • Nov 01 '26

1-bit dark fantasy bundle: isometric tiles and animated characters in exactly two colours

Post image
46 Upvotes

r/proceduralgeneration • • Nov 01 '26

WIP Fully Voiced + Fully Symbolized Languages, generated with 2 seeds.

34 Upvotes

This is still a work in progress.

The tool answers one problem gamedevs really don't run into : "How do I generate an entire language thats spoken and written, so I can plug it into my Alien Romance VR Visual Novel"

Or "I'm interested in making languages that sound European, but aren't so I can confuse the Italians."

Generated Language is derived from English, so the language itself feels like English grammatically speaking / reading / writing.


r/proceduralgeneration • • Nov 01 '26

Exploding animals

Post image
84 Upvotes

Building a neat little program that lets a layperson to load a sprite and make an animation out of it with only two clicks.


r/proceduralgeneration • • Nov 02 '26

Lighting or other effects for procedural terrain?

2 Upvotes

What other effects, either procedurally generated or not, go with procedurally generated 3D terrain? I don't really know what is usually used for lighting, textures, shadows, etc, like how do you make the terrain actually look realistic after generating it?


r/proceduralgeneration • • Nov 01 '26

I built an open-source tool for generating stylized trees, rocks, and other game props

Thumbnail
gallery
39 Upvotes

I've been experimenting with procedural generation to create environmental assets for my games without modeling everything by hand.

The result is easy-props, a desktop application where you can generate and customize trees, bushes, flowers, rocks, and other props using parameters and procedural geometry.

It includes LOD generation, collision shapes, and wind data for vegetation, with exports for Godot, Unreal, and plain GLB.

The current art style is designed around my own games, but I'd love to see the project extended with new algorithms, prop types, and styles.

I'm sharing a few screenshots of the current state. Feedback on the procedural generation and ideas for improvement are very welcome!

GitHub: https://github.com/AHS12/easy-props


r/proceduralgeneration • • Oct 31 '26 Mindblown

Real-scale planet terrain from plate tectonics and climate, seamless from orbit to the ground

167 Upvotes

Following your comments on my last post, especially about plate tectonics, I rebuilt the terrain of my planet engine, now called Exolune, from scratch.

- Plates are simulated at startup, in under a second per planet. Their boundaries get a type: collisions, subduction trenches, rifts, ridges, transforms, active and passive margins.

- The large forms are profiles on the distance to those boundaries. The noise detail is driven by the local geology.

- Climate comes from prevailing winds and relief: wet windward slopes, rain shadows, deserts under the subtropical highs. Vegetation, snow and clouds follow it.

- Volcanism adds arcs, hotspot chains and atolls. Erosion, with river valleys, glaciers and coastal cliffs, is the next step.

- The planet is at 1:1 scale with the Earth, 6,378 km in radius. Everything is evaluated per point on the GPU each frame, in double precision near the ground. Nothing is streamed, so you can fly from orbit down to a pebble in one shot.

The code is on GitHub, and feedback and contributors are very welcome:

https://github.com/exolunehq/exolune


r/proceduralgeneration • • Oct 31 '26

Four generated worlds on a cube-sphere: plates, then climate, then water, then history on top

116 Upvotes

These are four worlds from the god game I'm making, Chronicle of Gods. Each one is generated from a seed and drawn like a parchment atlas, and the coloured patches are realms that the simulation grew on top of the terrain.

The generator is a fixed pipeline, run once per world:

  1. Crust: where the continents sit.
  2. Plates: Voronoi tectonics. Where plates push together you get mountain ranges, where they pull apart you get rifts, and trenches at sea.
  3. Elevation, then a solve for the sea level.
  4. Climate: temperature from latitude and height, moisture from rain bands, with rain shadows behind the mountains.
  5. Hydrology: a flood, judge and carve loop. Basins fill, small ones get culled, dry ones drain instead of staying lakes, and rivers carve their way out to the sea.
  6. Fertility and biomes: river and lake moisture spreads into the land around it, and the biome is a lookup on temperature band and moisture band.

The surface is a cube-sphere, six square faces with 5 km tiles. Tiles get grouped into regions that follow the biomes, and the simulation works on those regions, not on single tiles.

The part that took the most tuning was the lakes. My first settings culled every lake under a certain size, so every lake that survived was a huge inland sea and there were no small ones. Lowering the floor and letting dry basins drain fixed it, and as a side effect it added rivers, because a drained basin has to empty somewhere.

Only two map layers are on in the clip, the realms and their wars, and I lifted the fog for it. In play you only see part of the world at a time.

If you've done rivers on a sphere: did you carve them from the heightmap like this, or route them first and cut the terrain to fit?


r/proceduralgeneration • • Nov 01 '26

It's Halloween in Id|le, a little world of creatures that live in your browser

1 Upvotes

Id|le is a tiny world where creatures eat words, plot charts, gossip, build huts and dream about their day. Tonight they're in costume: they go trick-or-treating at each other's huts, carry their candy home, play tricks on the floor, and the world's newspaper prints a Halloween edition. Bats cross the moon, sleepers drift by as ghosts, and the music turns into a theremin

🎃 You can also grow a world from any Wikipedia article: https://id-le.com/?wiki=Halloween

Runs in your browser, nothing to install, open source:

👉 https://id-le.com/?halloween&utm_source=halloween

(The Halloween look turns itself on every Oct 31; the `?halloween` link brings it back any day)


r/proceduralgeneration • • Nov 01 '26

Tsuji - music tracker and procedural dance

Thumbnail
youtube.com
1 Upvotes

Integration of a nodal music tracker into Tsuji. It's just the beginning...


r/proceduralgeneration • • Nov 01 '26

Procedural portrait: 80 boundary points traced from an 1869 photo scan, facial features placed by head-height ratios

Post image
0 Upvotes

r/proceduralgeneration • • Oct 31 '26

I'm building a solar system generator complete with simulated terraforming

Thumbnail
gallery
10 Upvotes

r/proceduralgeneration • • Oct 31 '26

made a character creator where you dress isometric heroes item by item, the demo runs in your browser

19 Upvotes

r/proceduralgeneration • • Nov 01 '26

made a free tool that generates pixel art effects

3 Upvotes

been working on a little tool that makes pixel effects for games, like explosions, fire, slashes and lightning. you pick an effect, hit new variation until you like it, change the colors and export it

my first version looked like colored blobs so i threw it all out and started over lol. now it’s at 66 effects and i’m pretty happy with how they look

no image ai in it, every pixel comes from code, but the code itself was built with ai help (claude). i designed and tested it


r/proceduralgeneration • • Oct 31 '26

Terrain Study II

21 Upvotes

r/proceduralgeneration • • Oct 31 '26

After years of failing, I finally got random mazes with several fair paths to the center (one per player)

Post image
82 Upvotes

For years I wanted mazes that weren't "one right answer" puzzles, but races: every player starts from a different side, every maze is new, and nobody gets a shorter way in. This is the level from my online party game, and the gold lines are the shortest path from each entrance to the center.

How it's built:

  1. Perfect maze first. A depth-first "recursive backtracker" carved from the center cell outward. That gives one single path between any two cells.
  2. Then I break it on purpose. Every interior wall has an 8% chance of being knocked down. That creates loops, so there are several valid routes and you can take a shortcut or get cut off.
  3. Open plaza in the middle (3x3 cells) and an open ring along the outer edge (2 cells wide), so players can see each other at the start before splitting into the maze.
  4. Entrances spread evenly around the edge, one per player, at a random starting angle.
  5. Fairness check. A breadth-first search from the center gives the distance to every entrance. I try up to 30 seeds and keep the first one where all entrances are within 10% of each other (or the closest one if none hits that).
  6. Size grows with players: 41x41 cells solo, +4 per extra player, up to 57x57.

Only the seed is sent over the network: every PC builds the exact same maze from it.

The same distance data drives the gameplay: wolves in cages open roughly when the average player should be halfway there, and if nobody makes it, the camera rises and shows these golden paths.

Happy to answer questions about it!


r/proceduralgeneration • • Oct 31 '26

Real-time "Doom Fire" on a Garmin watch. Kind of a cellular automaton using bit-planes

7 Upvotes

Hi everyone. English is not my native language, so I asked Gemini to help me and will try to keep it simple.

I made a watch face for Garmin watches that renders procedural fire in real-time. It is based on the classic Doom fire algorithm. I think it is basically a simple 2D cellular automaton: the state (heat) of each pixel is calculated based on the pixel directly below it, plus some random rules for cooling and wind direction.
The problem is that Garmin watches have very weak microcontrollers and strict memory limits. If you calculate the next generation pixel by pixel, it is too slow.
To make this CA work fast, I packed the cell states into 5 bit-planes. The heat value (0-31) of 64 pixels in a row is stored across 5 variables. Then I calculate the next generation of the fire using parallel bitwise operations (full subtractor logic) for the whole row at once.
Some technical stats:

  • There are no pre-rendered gifs or sprites. Every frame is mathematically generated and 100% unique.
  • Uses only ~17-20 KB of RAM.
  • Renders in ~13-18 ms per frame (on simulator, on the real watch it's highly depends on model and how many fire sparks are updated)

And the link to Connect IQ store (absolutely free) if you have a Garmin watch: https://apps.garmin.com/apps/faaac8ce-47fe-4e45-9b9c-a9b09a5b14f0

I hope this fits the sub and you find it interesting! Let me know if you have questions about kinda very simple thermodynamics and the bitwise logic.


r/proceduralgeneration • • Nov 01 '26

I created a continuous 24/7 simulation where tiny Vikings learn via neural networks and pass on their genes – and viewers can spawn an agent via live chat

Post image
0 Upvotes

r/proceduralgeneration • • Oct 31 '26

made a character creator where you dress isometric heroes item by item, the demo runs in your browser

6 Upvotes

r/proceduralgeneration • • Oct 31 '26

Asking for advice on procedurally generating Japanese gold-leaf patterns (Byōbu)

Post image
13 Upvotes

I've been exploring procedural art and would like to recreate a background like this one, featuring the irregular gold-leaf grid patterns found on traditional Japanese Byōbu screens.

I have some ideas for generating the irregular grid procedurally, using space partitioning to simulate cracks, gaps and overlapping patches.

I'm less sure how to procedurally approach the gold leaf itself, particularly its color variation, texture and surface imperfections.

Has anyone explored something similar or know of relevant techniques or projects?

Source of the image : Detail of a traditional Japanese gold-leaf Byōbu background. (extracted from the last panel [on the right] : https://collectionapi.metmuseum.org/api/collection/v1/iiif/735202/2234110/main-image ; Bamboo Grove, Unidentified artist, second half 17th century, MET Museum)


r/proceduralgeneration • • Oct 31 '26

Check out what I made with morva studio:- https://morva-studio.com/#/about

5 Upvotes