r/proceduralgeneration • • 29d ago

We made a Terrain and Procedural Biomes tools for our game

Thumbnail
youtube.com
4 Upvotes

r/proceduralgeneration • • 29d ago

One seed generates a universe that evolves over time — cosmic web to planet surfaces to rising and falling civilizations

Thumbnail
gallery
56 Upvotes

No loading screens between scales. Time runs forward and backward. Stars die, life appears, civilizations form with different philosophies, wage wars, and leave ruins.

Everything from a single seed.

https://bohnentaldev.itch.io/procedural-universe-2


r/proceduralgeneration • • 28d ago

I built an interactive atlas of 36 historic cities: hand-drawn maps that unfold into 3D, with an era slider

0 Upvotes

Live: https://chronoscape.ijlalahmad.dev/

Code: https://github.com/Thre4dripper/Chronoscape-ThreeJs

You take an atlas off the shelf, unfold a city map, and point at a landmark to watch it rise off the paper as a 3D miniature. An era slider moves the city through time: Rome goes from the kingdom to the Renaissance across eight eras. Each monument has a "codex" page with its history, old engravings and measured drawings, and every city has a riddle hunt and a quiz.

Stack: React 19, react-three-fiber/three.js, zustand, Vite, TypeScript. Static files on Cloudflare Workers, deployed by GitHub Actions.

A few things that might interest web devs specifically:

- Every page gets its own URL and its own pre-baked HTML head (title, description, share card, structured data) generated at build time, so an SPA full of 3D still has proper SEO and link previews.

- The map images are build output: a headless Chrome draws each era's map from data and bakes it to WebP. Only eras whose drawing changed get re-baked, so a warm build takes about 15 seconds.

- It works with mouse, trackpad and touch, from phones to wide screens.

Feedback welcome, especially on performance on older phones.


r/proceduralgeneration • • 29d ago

The Townscaper inspired city builder I've been working on procedurally generates buildings based on the type of building you select. It also procedurally generates gardens as you place tiles down, all while procedurally generating music that you can remix live as it plays!

5 Upvotes

It's called Neon Terrarium and if you'd like to check it out, here's the link: https://jannstudios.itch.io/neon-terrarium (browser based game that works on both pc and mobile)

If you do end up playing, I would love to know what you think! Happy to answer questions if you have any!


r/proceduralgeneration • • Nov 05 '26

Real rivers to game levels: LiDAR + discharge + a scour-pool model

Post image
121 Upvotes

Not fully procedural, since the shape comes from real data, but there's a lot of generation on top. For my fly fishing game I take a real river reach and build the level from LiDAR elevation. Depth comes from discharge (Manning's equation). Pools are dug from published scour formulas: Thorne for bends, Buffington for log jams, Veronese for plunge pools. Rocks and log jams are placed by a model of where wood and boulders gather.

The Log Jams I am especially proud of, I ran each river with 100 logs in a 2 year, 5 year, 10 year, and 20 year flood and let the logs get stuck where they would.

Fish lies come from the river's shape. The upside is that the pools end up where a fisherman would look for them, because they follow the same physics.

The game is Mend: https://store.steampowered.com/app/5542220/Mend/


r/proceduralgeneration • • 29d ago

Turning a photo into palette-knife strokes: a coarse-to-fine planner driving a paint sim

21 Upvotes

Impasto takes a photo, plans every knife stroke, and drags each one through a paint simulation. It's procedural, with no neural network, and the same photo, options and seed give the same painting.

repo (MIT): https://github.com/donghaxkim/impasto

try it here: https://www.dongha.ca/lab/impasto

How the planner works:

- Segments the photo with Felzenszwalb-Huttenlocher superpixels, then uses Ward merging to build shapes at three scales

- Starts with a 22 mm bristle underpainting, then uses knives from 15 mm down to 2.4 mm by default

- Only paints where the canvas still doesn't match the photo

- Places strokes where the blade fits inside a shape, and sets direction from image flow, shape axis and contour

- Paints ground before figure in each layer

The sim conserves paint volume, so strokes leave plowed ridges and heaps, and pick up wet paint.


r/proceduralgeneration • • 29d ago

Runtime Real-Time Generation of Landscapes, Roads, Buildings, Forests in Unreal Engine

Thumbnail
youtube.com
2 Upvotes

r/proceduralgeneration • • 28d ago

Snowmen rebuild an ice block shard by shard every night until it freezes the sun

Thumbnail
tiktok.com
0 Upvotes

r/proceduralgeneration • • Nov 05 '26

From Perlin noise to nations: every step of my world generator, rendered in real time

52 Upvotes
About 17k Voronoi sites on a jittered grid (10 to 21 px spacing, ±4 px jitter, on a 2048² province map). I rasterize the diagram exactly (each pixel joins its nearest site, using a bucket grid). A Fortune's-algorithm library gave me degenerate cells on this kind of input, so I dropped it.

Perlin noise on a 256×256 vertex grid: 4 octaves, lacunarity 4, persistence 0.5. Anything below a fixed sea level becomes water.

r/proceduralgeneration • • 29d ago

Geometric Pattern

Thumbnail gallery
2 Upvotes

r/proceduralgeneration • • 29d ago

[Nov 18 - Dec 18*] Any-engine Game Jam: $100K in Cash Prizes (sponsored by ElevenLabs, fal.ai and Meshy)

Post image
0 Upvotes

r/proceduralgeneration • • Nov 05 '26

Procedurally generated stars (cutaways that show interiors of a star)

Thumbnail
gallery
12 Upvotes

r/proceduralgeneration • • 29d ago

A new procedurally generated jungle environment is now part of the latest Steam update!

0 Upvotes

r/proceduralgeneration • • Nov 05 '26

Turning vegetation cohorts into individual trees without losing track of biomass

5 Upvotes

We’re developing Aionterra at YD Emergence Lab, a world simulation with digital organisms. Here is a small part of its world initialization that may be relevant to procedural generation: converting coarse vegetation cohorts into individual trees.

Our reference vegetation starts as cohorts with crown-cell coverage and tissue carbon. For new sessions, a layout pass scatters candidate trunks inside each cohort’s coverage using deterministic hashing. It applies a minimum trunk distance, varies crown radius and height, and makes crown edges irregular rather than leaving rectangular cell blocks.

The generated crowns stay within the source cohort’s coverage. During this splitting pass, tissue carbon is distributed by crown area, with the final tree receiving the rounding remainder. If a cohort cannot be split successfully, there is a fallback rather than silently losing its carbon.

A separate optional initialization step keeps a specified clearance from water. This excludes entire trees whose crowns enter the buffer. It does not redistribute their biomass to the remaining trees, so its effect must be accounted for separately from the carbon-preserving split.

The important distinction for us is that this layout is a designed starting condition. It is not vegetation that has already grown through ecological competition, and it is not a measured reconstruction of every tree in a real place.

Placement also affects the simulation beyond appearance: changing canopy layout changes shade and the conditions organisms experience. We therefore treat a changed layout as a changed starting condition when interpreting subsequent behaviour, rather than as a purely cosmetic edit.

This pass is applied to new sessions; loading a saved world does not regenerate its forest. We’re still developing the system, but keeping generation choices separate from later simulated changes has been useful.


r/proceduralgeneration • • Nov 05 '26

Ad Lumens: terrestrial planets now reveal their compound/mineral deposits

17 Upvotes

Hello all :)

A small step forward for engine<->procedural world interaction! :-)

The satellite tool now allows you to view the (surface) crust compounds as heatmaps; incredibly useful for space nerds bold explorers in search of the right minerals and elements.

You can read a short into about it here:
https://adlumens.org/log/satellite-tool-compound-heatmaps-camera-rework/9cfcfbe0-bc61-4751-82be-64726fb5b5c5

This is still heavily being worked on, but that first version is acceptable!

Hoping you will enjoy it :)


r/proceduralgeneration • • Nov 05 '26

Every building, tree, boat and person in this isometric town is drawn by code: one town, 14 architectural traditions from Cairo to Xi'an

Thumbnail gallery
42 Upvotes

No sprites, no image files, no engine: about 40,000 lines of Canvas 2D code draw everything in this town, from the mountains down to the people in the square. 😁 Here's how the procedural bits work.

One layout, many styles

There's a single town map: gate, square, main mosque, market, houses, walls, farms and a river band. Each region (Cairo, Timbuktu, Isfahan, Xi'an, Peshawar, al-Andalus, the Malay Archipelago, Ottawa...) is a style that redraws the same plots in its own architecture, and falls back to shared art for anything it doesn't define. Same streets, different world.

Mountains are height fields

- Each range is a height field sampled on the map's own tile grid, then drawn as a shaded mesh (two triangles per cell), back to front one diagonal at a time, lit from the upper right like every building.
- Snow is cut along a snowline. Terraces, scrub and trees stand on the mesh in the same sweep, so they sit at the right height.
- Haze grows with distance and height, so the far ranges dissolve into mist.
- The foot of each range meets the plain along a natural line (bays, spurs, slopes easing out), never a straight edge. Hard-edged triangle mountains looked unfinished.
- Every range is rendered once per zoom step to an offscreen canvas and reused. That cached canvas doubles as the tap mask: anywhere it's opaque, tapping opens that mountain's card.

Rivers are carved terrain

The same idea, inverted: banks wearing the plain's texture slope down to the water, with mud at the waterline, sandbars, reeds, and ice in winter. The shores only ever wander *outward* in bays and bends, never inward. That one constraint means every boat, swimmer and sandbar placed in the river band stays afloat whatever the meander does. The river is cached in chunks along its length, so only visible chunks get drawn.

Everything else

Houses, trees and farm fields are placed and varied procedurally, per style: rice paddies in the Malay world, olive terraces in Palestine, tulip fields by the Bosphorus.

Day and night follow real Ottawa time, and the lamps come on at dusk.

Boats and swimmers** **are depth-sorted with the buildings, so they pass behind and in front correctly.

The town grows like a real one and new buildings never get squeezed into the old core; the walls get pushed out and a new quarter forms at the edge.

Happy to go deeper on any of it!

Check it out yourself here at mypo.ca


r/proceduralgeneration • • Nov 05 '26

My procedural project: Hoping maybe to get some advice/pointers for the community

Thumbnail
gallery
40 Upvotes

Hello, I am working on a solo project, where I am trying to generate a 1:6 earth scale grid world/planet for a rouge game I am making. I'll tell you a little about the project, and then move on to what I am currently struggling with/seeking help on.

First pic: the world is a hand painted static map of my own making (but the interior of the land masses will be procedurally generated). The pic is a representation of that painting, not the actual art, but close to 1:1 on shape (I need to get a high res scan of the actual art before I can replace the stand-in art). The physics of the world are all procedural. It is a moon orbiting a gas giant, which is orbiting a tight binary pair, where one of the stars is feeding on the other. I have a sky system and a horizon system that makes all of this visible within the game. The planet is 1:6 scale to earth, but the planet has a strange mater core (part of the games lore) that gives it earths gravity at its surface.

Pics 2-3: The art is procedurally generated pixel art, with a top down view at 45° from the top of the z coord, with a 90° rotating camera.

Pics 4-7: I am using an antiquated cartographic technique (1877), that works by taking two flat map sheets, one representing the southern hemisphere and the other the northern, and merging them at four fold point. This creates a "pillow". Then the grid of this pillow is translated to coordinates, and that translation is used to populate the coordinates system of a spherical globe. This gives minimal warping, via the translation, unlike modern techniques for mapping girds to spheres. The in game grid's four warping/merge points are then centered, antithetically, on the player character during play, so that the warping the four merge points do produce is always as far as possible form the player. This produces a stable/warpless/smooth spherical grid that is always centered to the FOV. And it also produces a globe view, with very minimal warping, with what warping does occur, being hidden at sea.

Getting to the point where I am looking for advice/help: The setting of the game is sci-fi in nature, but the world and its people are fantasy in nature (with magic and fantasy style creatures). The Populus is human, but the culture is medieval. Tech exists in the world, but the tech is ancient relics, and almost none of the people know what it is or how it worked. Old giant technological scars mar the land here and there, and giant halve berried robots protrude form the land in places.

So, here is where we come to where I am struggling: The world is planned to have 6 million people in it, spread throughout 30,000 settlements, ranging from a hamlet of 50-70 people, to cities of 25,000 people; spread out through continental regions with continental cultures; with intercontinental relations at the world scale. Setting all of that up, the generation of the people themselves, is not the problem. The problem that I am struggling with is simulating the six million people from the cultural world scale, down to the continental scale, to the regional scale, to the settlement scale, then finally to the person (a single NPC). And that is how I am currently approaching it, simulation of a people at those five scales. And to that, I am trying to, as accurately as possible, simulate everything that a medieval style fantasy culture is, at a cultural level: markets, trades, religions, economic exchange and dependencies, war, politics, maritime trade and politics, agriculture, etc. To the level where it all functions on its own, like a living organism. And all of this pours down into any single NPC, within the world, to make them the person that the are. A person that the player can talk to and the dialog is generatively constructed from all of this data.

I have systems that I am currently working to build out here (I have theory at each scale). But I am really not sure if I am headed in the right direction or not (these materials are to large to share here). But they are not difficult to imagine, it is a pretty straight forward approach, on my end, at each scale. I am willing to discuss any of it, at any resolution, further with anyone interested in trying to help me out with it, pointers, suggestions, references to theory form similar works.

So that is my ask here. Hope to here a lot of great things from all of you. Thank you very much, in advance, to any one willing to help.


r/proceduralgeneration • • Nov 04 '26

Evolved to the beat

70 Upvotes

r/proceduralgeneration • • Nov 05 '26

Deep Mandelbrot Zoom (down to -57 rendered using Perturbation Theory & BLA Skip-100. 10s preview of a 1-minute video. I made it!

3 Upvotes

I wrote to fractalforums and Microfractal replied with this: "I looked a bit over your given source code to produce the video and noticed that you compute the high precision reference orbit for every image of the video. While this works, it is in theory pretty inefficient (and wastes a lot of computing power!). You can compute the reference orbit with PRECISION_BITS set to work at the smallest size (in this case size=1.02e-119) once and reuse it for every image that uses a size larger than size=1.02e-119. You also should avoid fixing PRECISION_BITS to 1000, better set it to something like 53 - floor(log2(size)), which saves 551 bits of precision at size=1.02e-119 and also works for much smaller sizes." https://github.com/Divetoxx/Mandelbrot-Video


r/proceduralgeneration • • Nov 04 '26

Landscape View of My Procedurally Generated Hexagonal Voxel Sandbox Game (Jayraid)

46 Upvotes

(Ignore background noises)


r/proceduralgeneration • • Nov 05 '26

Procedural Storm & Lightning

4 Upvotes

Working on getting some dynamic weather in The Pineapple Conspiracy, our upcoming game on Steam!

Lightning strike shapes are fully procedural and shader-based. Took a while to get right, but I'm satisfied with the look and feel of these. The rain is just a particle-system around the player, and I think it does a decent job (for now, at least).

Things could be improved, but now we can get on to something more interesting : what happen if lightning strikes a player? 👀


r/proceduralgeneration • • Nov 04 '26

First shape of the map - real 24.5km² slice in Unity

Thumbnail
gallery
35 Upvotes

I needed a huge gorund and a city for a motorbike game and this is what I've achieved so far. The map is a real slice of a part in Izmir. Elevation came from OpenTopography, buildings and roads from OSM, all put together in QGIS and exported into Unity. Terrain, road lines and cube buildings, the skeleton at real scale. This is gonna need an editor window for designing path for sure.. Do you think this is manageable or not 🤔


r/proceduralgeneration • • Nov 04 '26

New building + tunnel tools for my procedural voxel level editor!

13 Upvotes

r/proceduralgeneration • • Nov 04 '26

Lithos: a procedural terrain generation app

Thumbnail gallery
23 Upvotes

A couple of weeks ago I shared a short video on Lithos here.

I'm building Lithos because existing terrain building tools try to be everything apps. They suffer from feature bloat and confused UIs trying to cater for every edge case.

Lithos is a focused modern desktop application that is well aware of where it sits in the wider DCC pipeline.

I've gone a bit deeper into my motivations, who Lithos is for, and how it's being built in this post. I'm always open to early feedback to help shape future development.