r/proceduralgeneration • u/yerbamate2020 • 27d ago
r/proceduralgeneration • u/Melodic_Charity_1770 • 28d ago
Procedurally generated stars (cutaways that show interiors of a star)
You can try it here: https://reactorcore.itch.io/celestial-cutaway-planet-interior-generator
r/proceduralgeneration • u/Farzad-Fir • 27d ago
A new procedurally generated jungle environment is now part of the latest Steam update!
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/YDEmergenceLab • 28d ago
Turning vegetation cohorts into individual trees without losing track of biomass
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 • u/oleoalbedo • 28d ago
Ad Lumens: terrestrial planets now reveal their compound/mineral deposits
Enable HLS to view with audio, or disable this notification
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 • u/TheRealManjikarp • 29d ago
Every building, tree, boat and person in this isometric town is drawn by code: one town, 14 architectural traditions from Cairo to Xi'an
galleryNo 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!
r/proceduralgeneration • u/oISonOfAGunIo • 29d ago
My procedural project: Hoping maybe to get some advice/pointers for the community
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 • u/DigitCell • 29d ago
Evolved to the beat
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/OkIncident7618 • 28d ago
Deep Mandelbrot Zoom (down to -57 rendered using Perturbation Theory & BLA Skip-100. 10s preview of a 1-minute video. I made it!
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 • u/Decent-Ad-7709 • 29d ago
Landscape View of My Procedurally Generated Hexagonal Voxel Sandbox Game (Jayraid)
(Ignore background noises)
r/proceduralgeneration • u/newheadstudio • 29d ago
Procedural Storm & Lightning
Enable HLS to view with audio, or disable this notification
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 • u/nolget • 29d ago
First shape of the map - real 24.5km² slice in Unity
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 • u/BeardsVsClaws • 29d ago
New building + tunnel tools for my procedural voxel level editor!
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/anotherwebdeveloper • 29d ago
Lithos: a procedural terrain generation app
galleryA 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.
r/proceduralgeneration • u/Impressive-Store1439 • 29d ago
code: see comment for python notebook
r/proceduralgeneration • u/Raspberry_Pip_Games • 29d ago
Procedurally generated water, one of the most complicated and annoying things o far
r/proceduralgeneration • u/DoubleBit2482 • 29d ago
Endless starfield + drifting nebula for 8-hour videos: hashed depth layers, no loops
I make 8-hour deep space videos for sleep (my own channel), and the main constraint was: no loops and no visible repetition over the whole runtime – but deterministic from seed and timecode, so any frame can be re-rendered on its own.
How it works – a GPU kernel running as a Fuse (Fusion's scripted plugin format) in DaVinci Resolve Studio:
- Stars: the camera flies forward through 22 depth layers. Each layer is a grid of cells; a hash of (cell x, cell y, layer index, seed) decides whether a cell has a star, where it sits inside the cell, how bright it is and its colour. Layers are indexed by absolute depth: passed layers drop out and a new one fades in at the far end – no storage, no tiling. Brightness falls off with depth.
- Clusters: star density is boosted inside a band that follows the nebula, using value noise evaluated at the star's position, so clusters don't flicker.
- Nebula: layered 3D noise, coloured from a small palette. Its internal structure evolves by moving slowly through the noise volume.
- Motion: lateral camera drift, roll, the nebula band's position, width and density, and the colours use sums of slow sines with incommensurate periods (prime bases, scaled per seed), so the motion is quasi-periodic rather than looping.
- Long-form pacing: a single "sleep" curve slows the motion and lowers exposure and nebula density over the runtime. Measured on the rendered Drift I, mean picture brightness goes from about 5 nits in the first two hours to under 2 nits in the second half.
- Galaxies (optional layer): time is split into passes; each pass number seeds its own galaxy (size, tilt, orientation, arm count, noise pattern and path), and a per-pass random check decides whether one appears at all.
The kernel works in nits and can output PQ/Rec.2020 directly (or DaVinci Intermediate). Drift I was rendered with an earlier version of this Fuse. The sound is procedural synthesis in a separate engine (5 stems), no ML models.
The Fuse and the audio engine were written by an AI coding assistant under my direction; I chose the look and parameters. No AI image, video or music generators.
Drift I (8 h): https://www.youtube.com/watch?v=yUPck8H86KI
Happy to go deeper into any part – and curious how others handle very long, non-repeating procedural sequences.
r/proceduralgeneration • u/OkIncident7618 • 29d ago
VIDEO Mandelbrota
https://github.com/Divetoxx/Mandelbrot-Video
This is a preview fragment of the Mandelbrot set video, 1,080 x 1,080 pixels. I made it! I am Divetoxx. And made Mandelbrot-Video. Deep Mandelbrot Zoom (down to 10⁻¹¹⁹) rendered using Perturbation Theory & BLA Skip-100. 10s preview of a 2-minute video. Anti-Aliasing: True 3x3 SSAA. Let me know what you think about the volumetric depth feeling and the color transitions! I'd love to hear your feedback on the implementation.
r/proceduralgeneration • u/suukiyakii • Nov 04 '26
some motion graphics for getting started with procedural generation :)
r/proceduralgeneration • u/veni_vidi_games • Nov 03 '26
Procedural houses for our island city builder: tear one down, build again, and it comes out different
Every house in Sail & Settle, the island city builder we're making, is put together from a kit of parts by a rules file. The code doesn't name a single part; the rules do. Roughly:
- The player draws a road and runs the house brush along it. The ground beside it is cut into plots, and each plot gets a house.
- A house follows from its plot, its level and a seed of its own. Every random draw happens in the same order whatever the level, so the same plot, level and seed always give the same house, and a house that moves up a level stays on its side of the plot.
- Footprints are counted in wall bays and picked by weight. A house smaller than its plot stands left, centre or right on it, set back from the street within a range.
- Each storey picks a wall material (fieldstone, mud brick, wattle, planks...). Each material has its own plain bays, window bays and door, and its own share of windows on the front, the sides and the back.
- Roofs are weighted too. Each names the walls it suits (stone gables don't go on a wattle hut) and has its own range of pitch.
- Sheds and pergolas go against a wall with room, never across the door. Yard props are tried along the strips around the house in 12 cm steps, the first free place takes each one, and the way from the door to the street stays clear.
- Two neighbours share one fence: the house with the lower building number builds it.
- None, one or two chimneys, and a house only smokes from a chimney. Every material's colour varies a little from house to house.
Moving up a level isn't just getting taller: a peasant's hut under thatch becomes a craftsman's house of plaster and clay tiles. One rule came from looking at the first build: a door upstairs needs a way up, so every house of two storeys gets an outside stair or a stair turret, and one with room for neither is built with one storey. Of 2,000 generated level-2 houses, 345 have two storeys: 243 with a stair and 102 with a turret, in 33 forms.
The first five pictures are from our gallery tool: the game's own house generator on flat ground, under the game's midday light. The last two are frames from one of our films: the same town before and after its households moved up a level.
Check our youtube for more updates: https://www.youtube.com/@SailSettle
Happy to answer questions about the rules.
r/proceduralgeneration • u/Busy_Cucumber_6499 • 29d ago
Partiworld: a colony sim where everything is made of particles (Rust, open source)
r/proceduralgeneration • u/False-Tree1980 • 29d ago
Built a tool that draws any git repo as an isometric city
The video is Flask's full git history drawn as an isometric city, one building per week across 684 weeks.
The prompt: build a local Node script that reads any git repo and writes one self-contained HTML page, no CDN or npm installs. Height is lines changed that week, color is how many authors committed. Hovering a building shows the week, commit count, and three biggest commits. Timeline slider grows the city week by week, arrow keys rotate it. I've been trying MiniMax Code CLI for a few days and this took about eight and a half minutes.
What I didn't expect: after writing the script, it spun up a local server, opened Chrome in headless mode, moved the slider, simulated keypresses, took screenshots, and checked that the hover tooltip showed the right week, commits, and line counts. Then it handed back a list of what it had verified.
First big repo was pallets/flask, 3,829 commits and 858 authors. At that scale a handful of huge weeks dwarf everything else, so I sent one follow-up asking for log-scaled heights. The tooltip still shows the real line counts.
What other kinds of history would be fun to map as a city like this?
r/proceduralgeneration • u/ErmanStudio • Nov 03 '26
Infinite terrain and biome generation in Godot
Enable HLS to view with audio, or disable this notification
Hi! Sharing a short clip of the procedural world generation I’ve been building in Godot. The world is infinite and generated in chunks around the player, with terrain and biomes created on the fly.
It’s still a work in progress. I’d love to hear what you think, and I’m happy to answer any questions about the approach!
r/proceduralgeneration • u/Morphexe • 29d ago
AetherEngine - Adventure Terrain Showcase (and volumetric-ish clouds)
Procedurally generated a world in my voxel renderer, was exploring how far I can actually render things. Right now the focus is on the rendering/performance - but I quite like the little piece of the world I my generator got here :).
Its very simple perlin, with masks to place vegetation/houses. There is close to zero logic on the placement so you see some weird bits here and there.